Mass whitespace changes (Style Warnings)
[aaf/authz.git] / misc / xgen / src / main / java / org / onap / aaf / misc / xgen / CacheGen.java
index 3edf8b6..eb58fc2 100644 (file)
@@ -71,7 +71,7 @@ public abstract class CacheGen<G extends XGen<G>> {
     }\r
     \r
     public void replay(State<Env> state, Trans trans,Writer w, String theme) throws IOException, APIException {\r
-        if(thematic!=null) {\r
+        if (thematic!=null) {\r
             theme = thematic.themeResolve(theme);\r
         }\r
         /* Theme\r
@@ -87,7 +87,7 @@ public abstract class CacheGen<G extends XGen<G>> {
         int i=0;\r
         @SuppressWarnings("unchecked")\r
         Section<G>[] reverse = new Section[sections.size()];\r
-        for(Section<G> section : sections) {\r
+        for (Section<G> section : sections) {\r
             s = section.use(state, trans, buff); // note, doesn't change cached, only dynamic, which is created for thread\r
             int tempIndent = s.getIndent();\r
             s.setIndent(indent);\r
@@ -97,7 +97,7 @@ public abstract class CacheGen<G extends XGen<G>> {
             reverse[i++]=s;\r
         }\r
 \r
-        for(--i;i>=0;--i) {\r
+        for (--i;i>=0;--i) {\r
             reverse[i].back(w);\r
         }\r
         w.flush();\r
@@ -116,7 +116,7 @@ public abstract class CacheGen<G extends XGen<G>> {
             // Clone Dynamic to make Thread Safe\r
             Dynamic d = new Dynamic(indent,code);\r
             buff.setIndent(indent);\r
-            if(code instanceof DynamicCode) {\r
+            if (code instanceof DynamicCode) {\r
                 buff.run(state,trans,Cache.Null.singleton(), (DynamicCode<G,?,? extends Trans>)code);\r
             } else {\r
                 buff.run((Cache<G>)Cache.Null.singleton(), code);\r