Remove redundant string operations
[mdsal.git] / binding / mdsal-binding-spec-util / src / test / java / org / opendaylight / mdsal / binding / spec / reflect / AugmentationFieldGetterTest.java
index 6ae817067957acc60009901004fcc80a5c6ff145..e2de73d8d4bf8d98a777eeb152204a9f302a93b1 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");
     }