Mass removal of all Tabs (Style Warnings)
[aaf/authz.git] / auth / auth-batch / src / main / java / org / onap / aaf / auth / helpers / CacheChange.java
index 0c82184..1adc3d0 100644 (file)
@@ -25,39 +25,39 @@ import java.util.ArrayList;
 import java.util.List;
 
 public class CacheChange<T extends CacheChange.Data> {
-       private List<T> removed;
-       
-       public CacheChange() {
-               removed = new ArrayList<>();
-       }
-       
-       interface Data {
-               public abstract void expunge();
-       }
-       
-       public final void delayedDelete(T t) {
-               removed.add(t);
-       }
-       
-       public final List<T> getRemoved() {
-               return removed;
-       }
-       
-       public final void resetLocalData() {
-               if(removed==null || removed.isEmpty()) {
-                       return;
-               }
-               for(T t : removed) {
-                       t.expunge();
-               }
-               removed.clear();
-       }
+    private List<T> removed;
+    
+    public CacheChange() {
+        removed = new ArrayList<>();
+    }
+    
+    interface Data {
+        public abstract void expunge();
+    }
+    
+    public final void delayedDelete(T t) {
+        removed.add(t);
+    }
+    
+    public final List<T> getRemoved() {
+        return removed;
+    }
+    
+    public final void resetLocalData() {
+        if(removed==null || removed.isEmpty()) {
+            return;
+        }
+        for(T t : removed) {
+            t.expunge();
+        }
+        removed.clear();
+    }
 
-       public int cacheSize() {
-               return removed.size();
-       }
+    public int cacheSize() {
+        return removed.size();
+    }
 
-       public boolean contains(T t) {
-               return removed.contains(t);
-       }
+    public boolean contains(T t) {
+        return removed.contains(t);
+    }
 }