Remove redundant string operations
[mdsal.git] / binding2 / mdsal-binding2-runtime / src / test / java / org / opendaylight / mdsal / binding / javav2 / runtime / reflection / AugmentationFieldGetterTest.java
index ea16886aa96d5d767e14872b4b923c8321bf91a7..1047b9338efffb3c35a78c71fa515ad64dacfdb4 100644 (file)
@@ -42,7 +42,7 @@ public class AugmentationFieldGetterTest {
     @Test(expected = IllegalStateException.class)
     public void getWrongGetterTest() throws Exception {
         final AugmentationFieldGetter augmentationFieldGetter = getGetter(TestAugmentationClass.class);
-        augmentationFieldGetter.getAugmentations(new String());
+        augmentationFieldGetter.getAugmentations("");
         fail("Expected IllegalStateException");
     }