Fix eclipse/checkstyle warnings
[yangtools.git] / common / util / src / test / java / org / opendaylight / yangtools / util / HashCodeBuilderTest.java
index 1f7666a2b21f81dd55a8f6ef8f3c194d558e1c28..4863357d13344198f2df47bc33d719a24d56a102 100644 (file)
@@ -15,13 +15,13 @@ public class HashCodeBuilderTest {
 
     @Test
     public void testAllMethodsOfHashCodeBuilder() {
-        final HashCodeBuilder<String> hashCodeBuilder = new HashCodeBuilder<>();
-        assertEquals("Default hash code should be '1'.", 1, hashCodeBuilder.build().intValue());
+        final HashCodeBuilder<String> builder = new HashCodeBuilder<>();
+        assertEquals("Default hash code should be '1'.", 1, builder.build().intValue());
 
         int nextHashCode = HashCodeBuilder.nextHashCode(1, "test");
         assertEquals("Next hash code should be '3556529'.", 3556529, nextHashCode);
 
-        hashCodeBuilder.addArgument("another test");
-        assertEquals("Updated internal hash code should be '700442706'.", -700442706, hashCodeBuilder.build().intValue());
+        builder.addArgument("another test");
+        assertEquals("Updated internal hash code should be '700442706'.", -700442706, builder.build().intValue());
     }
 }