jackrabbit-commits mailing list archives

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

URL: http://svn.apache.org/viewcvs?view=rev&rev=160272
Log:
BLOBFileValue: double 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=160271&r2=160272
==============================================================================
--- 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:37:23 2005
@@ -34,6 +34,7 @@
 import java.io.InputStream;
 import java.io.OutputStream;
 import java.io.UnsupportedEncodingException;
+import java.util.Arrays;
 import java.util.Calendar;
 
 /**
@@ -200,7 +201,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 == null ? other.buffer == null : buffer.equals(other.buffer)));
+                    && Arrays.equals(buffer, other.buffer));
         }
         return false;
     }



Mime
View raw message