Remove self equals test flagged by error prone The existing code can't be compiled by Bazel with integrated error prone: error: [SelfEquals] An object is tested for equality to itself see http://errorprone.info/bugpattern/SelfEquals. Change-Id: I9509707aad51bccbbc6ecd3391632970efdffd57
diff --git a/src/test/java/com/googlesource/gerrit/plugins/its/base/workflow/PropertyTest.java b/src/test/java/com/googlesource/gerrit/plugins/its/base/workflow/PropertyTest.java index 2d34838..dcffab4 100644 --- a/src/test/java/com/googlesource/gerrit/plugins/its/base/workflow/PropertyTest.java +++ b/src/test/java/com/googlesource/gerrit/plugins/its/base/workflow/PropertyTest.java
@@ -42,11 +42,6 @@ assertEquals("Value does not match", "testValue", property.getValue()); } - public void testEqualsSelf() { - Property property = createProperty("testKey", "testValue"); - assertTrue("Property not equal to itself", property.equals(property)); - } - public void testEqualsSimilar() { Property propertyA = createProperty("testKey", "testValue"); Property propertyB = createProperty("testKey", "testValue"); @@ -126,4 +121,4 @@ factory(Property.Factory.class); } } -} \ No newline at end of file +}