Author: sebb
Date: Wed Sep 14 18:01:46 2011
New Revision: 1170750

URL: http://svn.apache.org/viewvc?rev=1170750&view=rev
Log:
No longer check for unequal hashcodes, was not a strict requirement anyway,
and is no longer true since applying the following fix:
URL: http://svn.apache.org/viewvc?rev=1170595&view=rev
Log: Bug 48943 - Functions are invoked additional times when used in 
combination with a Config Element

Modified:
    
jakarta/jmeter/trunk/test/src/org/apache/jmeter/testelement/property/PackageTest.java

Modified: 
jakarta/jmeter/trunk/test/src/org/apache/jmeter/testelement/property/PackageTest.java
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/test/src/org/apache/jmeter/testelement/property/PackageTest.java?rev=1170750&r1=1170749&r2=1170750&view=diff
==============================================================================
--- 
jakarta/jmeter/trunk/test/src/org/apache/jmeter/testelement/property/PackageTest.java
 (original)
+++ 
jakarta/jmeter/trunk/test/src/org/apache/jmeter/testelement/property/PackageTest.java
 Wed Sep 14 18:01:46 2011
@@ -85,12 +85,7 @@ public class PackageTest extends TestCas
         assertEquals(jp2, jp2);
         assertFalse(jp1.equals(jp2));
         assertFalse(jp2.equals(jp1));
-        // Not an absolute requirement:
-        if (jp1.hashCode() == jp2.hashCode()) {
-            System.out.println("Expected different hashCodes for " + 
jp1.getClass().getName());
-
-        }
-
+        // do not check hashcodes; unequal objects may have equal hashcodes
     }
 
     public void testBooleanEquality() throws Exception {



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to