From: Kevin Clark Date: Wed, 18 Jun 2008 01:12:37 +0000 (+0000) Subject: Tweak the code to turn on Deprecation to make rcov happy X-Git-Tag: 0.2.0~573 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=7b0bc554fada27b8a5a0feb3fc0f61144b561060;p=common%2Fthrift.git Tweak the code to turn on Deprecation to make rcov happy git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668977 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/rb/lib/thrift/deprecation.rb b/lib/rb/lib/thrift/deprecation.rb index 094769ba..38161b7d 100644 --- 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