Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
3f48333
)
Tweak the code to turn on Deprecation to make rcov happy
author
Kevin Clark
<kclark@apache.org>
Wed, 18 Jun 2008 01:12:37 +0000
(
01:12
+0000)
committer
Kevin Clark
<kclark@apache.org>
Wed, 18 Jun 2008 01:12:37 +0000
(
01:12
+0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668977
13f79535
-47bb-0310-9956-
ffa450edef68
lib/rb/lib/thrift/deprecation.rb
patch
|
blob
|
history
diff --git
a/lib/rb/lib/thrift/deprecation.rb
b/lib/rb/lib/thrift/deprecation.rb
index
094769b
..
38161b7
100644
(file)
--- a/
lib/rb/lib/thrift/deprecation.rb
+++ b/
lib/rb/lib/thrift/deprecation.rb
@@
-1,9
+1,7
@@
# provide a backwards-compatible wrapper API and deprecate it
module Thrift
- unless const_defined?(:DEPRECATION)
- DEPRECATION = true
- end
+ DEPRECATION = true unless const_defined?(:DEPRECATION)
end
class Module