jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r1430288 - /jackrabbit/oak/trunk/oak-mongomk/src/test/java/org/apache/jackrabbit/mongomk/impl/MongoMKGetHeadRevisionTest.java
Date Tue, 08 Jan 2013 13:59:11 GMT
Author: mreutegg
Date: Tue Jan  8 13:59:10 2013
New Revision: 1430288

URL: http://svn.apache.org/viewvc?rev=1430288&view=rev
Log:
Use equals() instead of == in MongoMKGetHeadRevisionTest

Modified:
    jackrabbit/oak/trunk/oak-mongomk/src/test/java/org/apache/jackrabbit/mongomk/impl/MongoMKGetHeadRevisionTest.java

Modified: jackrabbit/oak/trunk/oak-mongomk/src/test/java/org/apache/jackrabbit/mongomk/impl/MongoMKGetHeadRevisionTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-mongomk/src/test/java/org/apache/jackrabbit/mongomk/impl/MongoMKGetHeadRevisionTest.java?rev=1430288&r1=1430287&r2=1430288&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-mongomk/src/test/java/org/apache/jackrabbit/mongomk/impl/MongoMKGetHeadRevisionTest.java
(original)
+++ jackrabbit/oak/trunk/oak-mongomk/src/test/java/org/apache/jackrabbit/mongomk/impl/MongoMKGetHeadRevisionTest.java
Tue Jan  8 13:59:10 2013
@@ -36,6 +36,6 @@ public class MongoMKGetHeadRevisionTest 
         assertEquals(rev1, rev2);
 
         String rev3 = scenario.delete_A();
-        assertFalse(rev3 == rev2);
+        assertFalse(rev3.equals(rev2));
     }
 }
\ No newline at end of file



Mime
View raw message