Remove unnecessary String() constructor invocations
[yangtools.git] / common / object-cache-guava / src / test / java / org / opendaylight / yangtools / objcache / guava / GuavaObjectCacheTest.java
index bc41da9ab31f8d2b1f1368d280bf03a17e1fdb72..b32ac84e9faf29c4b7266df94e3a17f8a3afef7c 100644 (file)
@@ -37,6 +37,8 @@ public class GuavaObjectCacheTest {
        }
 
        @Test
+       // This test is based on using different references
+       @SuppressWarnings("RedundantStringConstructorCall")
        public void testMultipleReferences() {
                final String s1 = "abcd";
                final String s2 = new String(s1);