jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r160268 - incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/BLOBFileValue.java
Date Wed, 06 Apr 2005 09:07:12 GMT
Author: stefan
Date: Wed Apr  6 02:07:12 2005
New Revision: 160268

URL: http://svn.apache.org/viewcvs?view=rev&rev=160268
Log:
BLOBFileValue: doh! fixed fixed equals()

Modified:
    incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/BLOBFileValue.java

Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/BLOBFileValue.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/BLOBFileValue.java?view=diff&r1=160267&r2=160268
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/BLOBFileValue.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/BLOBFileValue.java Wed
Apr  6 02:07:12 2005
@@ -200,7 +200,7 @@
             BLOBFileValue other = (BLOBFileValue) obj;
             return ((file == null ? other.file == null : file.equals(other.file))
                     && (fsResource == null ? other.fsResource == null : fsResource.equals(other.fsResource))
-                    && buffer.equals(other.buffer));
+                    && (buffer == null ? other.buffer == null : buffer.equals(other.buffer)));
         }
         return false;
     }



Mime
View raw message