(no commit message)
[utils] / support / general / src / test / java / org / wamblee / cache / ComputedValueTest.java
index d13cd41c85458c63d033e389e88f8f84c0b7daf3..d61f879c1c3598136a3e4f08e7c78360c6d3772a 100644 (file)
@@ -30,7 +30,6 @@ public class ComputedValueTest extends TestCase {
 
     private Computation<Integer> computation;
     private ComputedValue<Integer> guard;
-    
 
     @Override
     protected void setUp() throws Exception {
@@ -45,19 +44,19 @@ public class ComputedValueTest extends TestCase {
         guard = new ComputedValue<Integer>(this, computation);
 
         assertNull(guard.getCached());
-        
+
         when(computation.isOutOfDate()).thenReturn(true);
         when(computation.compute()).thenReturn(10);
-       
+
         int value = guard.get();
         assertEquals(10, value);
         verify(computation).compute();
         reset(computation);
     }
-    
-    public void testGetCached() { 
+
+    public void testGetCached() {
         initGuard();
-        assertEquals(10, (int)guard.getCached());
+        assertEquals(10, (int) guard.getCached());
         verifyNoMoreInteractions(computation);
     }