Author: kclark
Date: Tue Jun 17 18:10:43 2008
New Revision: 668966
URL: http://svn.apache.org/viewvc?rev=668966&view=rev
Log:
Rip out MemoryBuffer#get_buffer
Nobody should be using that method and it's preventing MemoryBuffer from being
optimized wrt. memory usage
Modified:
incubator/thrift/trunk/lib/rb/lib/thrift/transport.rb
Modified: incubator/thrift/trunk/lib/rb/lib/thrift/transport.rb
URL:
http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/lib/thrift/transport.rb?rev=668966&r1=668965&r2=668966&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/lib/thrift/transport.rb (original)
+++ incubator/thrift/trunk/lib/rb/lib/thrift/transport.rb Tue Jun 17 18:10:43
2008
@@ -231,10 +231,6 @@
return @rpos < @wpos
end
- def get_buffer
- return @buf
- end
-
def reset_buffer(new_buf = '')
@buf = new_buf
@sz = new_buf.length