Replace tabs in java files with spaces
[yangtools.git] / common / object-cache-guava / src / test / java / org / opendaylight / yangtools / objcache / guava / GuavaObjectCacheTest.java
index b32ac84e9faf29c4b7266df94e3a17f8a3afef7c..69218873ca5229967a9f72aca57754732c3426ad 100644 (file)
@@ -17,39 +17,39 @@ import org.opendaylight.yangtools.objcache.ObjectCache;
 import org.opendaylight.yangtools.objcache.ObjectCacheFactory;
 
 public class GuavaObjectCacheTest {
-       private ObjectCache cache;
-
-       @Before
-       public void setUp() {
-               cache = ObjectCacheFactory.getObjectCache(String.class);
-       }
-
-       @Test
-       public void testCorrectWiring() {
-               assertEquals(GuavaObjectCache.class, cache.getClass());
-       }
-
-       @Test
-       public void testInitialReference() {
-               final String s1 = "abcd";
-               final String s2 = cache.getReference(s1);
-               assertSame(s1, s2);
-       }
-
-       @Test
-       // This test is based on using different references
-       @SuppressWarnings("RedundantStringConstructorCall")
-       public void testMultipleReferences() {
-               final String s1 = "abcd";
-               final String s2 = new String(s1);
-
-               // Preliminary check
-               assertEquals(s1, s2);
-               assertNotSame(s1, s2);
-
-               assertSame(s1, cache.getReference(s1));
-               assertSame(s1, cache.getReference(s2));
-               assertNotSame(s2, cache.getReference(s2));
-       }
+    private ObjectCache cache;
+
+    @Before
+    public void setUp() {
+        cache = ObjectCacheFactory.getObjectCache(String.class);
+    }
+
+    @Test
+    public void testCorrectWiring() {
+        assertEquals(GuavaObjectCache.class, cache.getClass());
+    }
+
+    @Test
+    public void testInitialReference() {
+        final String s1 = "abcd";
+        final String s2 = cache.getReference(s1);
+        assertSame(s1, s2);
+    }
+
+    @Test
+    // This test is based on using different references
+    @SuppressWarnings("RedundantStringConstructorCall")
+    public void testMultipleReferences() {
+        final String s1 = "abcd";
+        final String s2 = new String(s1);
+
+        // Preliminary check
+        assertEquals(s1, s2);
+        assertNotSame(s1, s2);
+
+        assertSame(s1, cache.getReference(s1));
+        assertSame(s1, cache.getReference(s2));
+        assertNotSame(s2, cache.getReference(s2));
+    }
 
 }