We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51a6105 commit b90e715Copy full SHA for b90e715
imagetool/src/test/java/com/oracle/weblogic/imagetool/aru/VersionTest.java
@@ -62,10 +62,9 @@ void allowsNull() {
62
void equalObjects() {
63
Version a = new Version("1.2.3");
64
Version b = new Version("1.2.3");
65
- Version c = a;
66
assertEquals(a, b);
67
assertEquals(b, a);
68
- assertEquals(a, c);
+ assertEquals(a, a);
69
}
70
71
@Test
@@ -76,4 +75,4 @@ void hashcodeTest() {
76
75
assertEquals(a.hashCode(), b.hashCode());
77
assertNotEquals(a.hashCode(), c.hashCode());
78
79
-}
+}
0 commit comments