You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by kc...@apache.org on 2008/06/18 03:12:38 UTC
svn commit: r668977 -
/incubator/thrift/trunk/lib/rb/lib/thrift/deprecation.rb
Author: kclark
Date: Tue Jun 17 18:12:37 2008
New Revision: 668977
URL: http://svn.apache.org/viewvc?rev=668977&view=rev
Log:
Tweak the code to turn on Deprecation to make rcov happy
Modified:
incubator/thrift/trunk/lib/rb/lib/thrift/deprecation.rb
Modified: incubator/thrift/trunk/lib/rb/lib/thrift/deprecation.rb
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/lib/thrift/deprecation.rb?rev=668977&r1=668976&r2=668977&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/lib/thrift/deprecation.rb (original)
+++ incubator/thrift/trunk/lib/rb/lib/thrift/deprecation.rb Tue Jun 17 18:12:37 2008
@@ -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