From: Kevin Clark Date: Wed, 19 Nov 2008 23:24:12 +0000 (+0000) Subject: rb: Remove extra validate in read [THRIFT-207] X-Git-Tag: 0.2.0~408 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=1d5a1f6500c0c40fe3ba06b7a63ed02b16675f45;p=common%2Fthrift.git rb: Remove extra validate in read [THRIFT-207] git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@719126 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/rb/lib/thrift/struct.rb b/lib/rb/lib/thrift/struct.rb index d01b4ce0..4b991680 100644 --- a/lib/rb/lib/thrift/struct.rb +++ b/lib/rb/lib/thrift/struct.rb @@ -82,7 +82,6 @@ module Thrift end def read(iprot) - validate # TODO(kevinclark): Make sure transport is C readable if iprot.respond_to?(:decode_binary) iprot.decode_binary(self, iprot.trans)