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:
c669efa
)
rb: Remove extra return statement
author
Kevin Clark
<kclark@apache.org>
Wed, 18 Jun 2008 00:52:46 +0000
(
00:52
+0000)
committer
Kevin Clark
<kclark@apache.org>
Wed, 18 Jun 2008 00:52:46 +0000
(
00:52
+0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668900
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
242a859
..
7456f1c
100644
(file)
--- a/
lib/rb/lib/thrift/deprecation.rb
+++ b/
lib/rb/lib/thrift/deprecation.rb
@@
-5,7
+5,7
@@
class Module
alias_method :deprecated_#{method_name}, :#{method_name}
def #{method_name}(*args, &block)
$stderr.puts "Warning: calling deprecated method: #{self}.#{method_name}"
-
return
deprecated_#{method_name}(*args, &block)
+ deprecated_#{method_name}(*args, &block)
end
END
end