Author: cutting Date: Thu Aug 18 12:19:05 2005 New Revision: 233360 URL: http://svn.apache.org/viewcvs?rev=233360&view=rev Log: Fix a bug in equals(), whether other object may still be deflated.
Modified: lucene/nutch/branches/mapred/src/java/org/apache/nutch/protocol/Content.java Modified: lucene/nutch/branches/mapred/src/java/org/apache/nutch/protocol/Content.java URL: http://svn.apache.org/viewcvs/lucene/nutch/branches/mapred/src/java/org/apache/nutch/protocol/Content.java?rev=233360&r1=233359&r2=233360&view=diff ============================================================================== --- lucene/nutch/branches/mapred/src/java/org/apache/nutch/protocol/Content.java (original) +++ lucene/nutch/branches/mapred/src/java/org/apache/nutch/protocol/Content.java Thu Aug 18 12:19:05 2005 @@ -158,6 +158,7 @@ return false; } Content that = (Content)o; + that.ensureInflated(); return this.url.equals(that.url) && this.base.equals(that.base) &&