Mass whitespace changes (Style Warnings)
[aaf/authz.git] / misc / xgen / src / main / java / org / onap / aaf / misc / xgen / html / HTMLGen.java
index b2fb81d..0db6791 100644 (file)
@@ -69,14 +69,14 @@ public abstract class HTMLGen extends XGen<HTMLGen> {
 \r
     public HTMLGen imports(Imports imports) {\r
         //this.imports=imports;\r
-        for(String str : imports.css) {\r
+        for (String str : imports.css) {\r
             forward.print("<link rel=\"stylesheet\" href=\"");\r
             forward.print(imports.themePath(null));\r
             forward.print(str);\r
             forward.println("\">");\r
         }\r
 \r
-        for(String str : imports.js) {\r
+        for (String str : imports.js) {\r
             forward.print("<script type=\"text/javascript\" src=\"");\r
             forward.print(imports.themePath(null));\r
             forward.print(str);\r
@@ -87,8 +87,8 @@ public abstract class HTMLGen extends XGen<HTMLGen> {
     \r
     public HTMLGen jsVars(String ... attrs) {\r
         forward.println("<script type=text/javascript>");\r
-        if(attrs!=null) {\r
-            for(int i=0; i<attrs.length;++i) {\r
+        if (attrs!=null) {\r
+            for (int i=0; i<attrs.length;++i) {\r
                 forward.append(' ');\r
                 String[] split = attrs[i].split("=",2);\r
                 switch(split.length) {\r
@@ -121,7 +121,7 @@ public abstract class HTMLGen extends XGen<HTMLGen> {
         forward.append(tag);\r
         addAttrs(attrs);\r
         forward.append('>');\r
-        if(pretty) {\r
+        if (pretty) {\r
             forward.println();\r
         }\r
         return this;\r
@@ -129,7 +129,7 @@ public abstract class HTMLGen extends XGen<HTMLGen> {
 \r
     public Mark divID(String ... attrs) {\r
         Mark div;\r
-        if(attrs.length>0) {\r
+        if (attrs.length>0) {\r
             div = new Mark(attrs[0]);\r
             attrs[0]="id="+attrs[0];\r
         } else {\r
@@ -168,7 +168,7 @@ public abstract class HTMLGen extends XGen<HTMLGen> {
         nattrs[0]="id="+id;\r
         nattrs[1]="name="+id;\r
         System.arraycopy(attrs, 0, nattrs, 2, attrs.length);\r
-        if(required) {\r
+        if (required) {\r
             nattrs[nattrs.length-1]="required";\r
         }\r
         incr(mtd);\r
@@ -180,7 +180,7 @@ public abstract class HTMLGen extends XGen<HTMLGen> {
     //  Common tags that do not have standard endings.  These are here to help people who don't know to pick directive  \r
     public HTMLGen br() {\r
         forward.append("<br>");\r
-        if(pretty) {\r
+        if (pretty) {\r
             forward.println();\r
         }\r
         return this;\r
@@ -188,10 +188,10 @@ public abstract class HTMLGen extends XGen<HTMLGen> {
 \r
     public HTMLGen p(String ... text) {\r
         forward.append("<p>");\r
-        for(String s : text) {\r
+        for (String s : text) {\r
             forward.append(s);\r
         }\r
-        if(pretty) {\r
+        if (pretty) {\r
             forward.println();\r
         }\r
         return this;\r
@@ -199,7 +199,7 @@ public abstract class HTMLGen extends XGen<HTMLGen> {
 \r
     public HTMLGen hr() {\r
         forward.append("<hr>");\r
-        if(pretty) {\r
+        if (pretty) {\r
             forward.println();\r
         }\r
         return this;\r
@@ -221,7 +221,7 @@ public abstract class HTMLGen extends XGen<HTMLGen> {
 //            try {\r
 //                forward.print("<style>");\r
 //                prettyln(forward);\r
-//                while((line=br.readLine())!=null) {\r
+//                while ((line=br.readLine())!=null) {\r
 //                    forward.print((pretty?line:line.trim()));\r
 //                    prettyln(forward);\r
 //                }            \r