]> source.dussan.org Git - vaadin-framework.git/commitdiff
Removed duplicated code (#9189)
authorArtur Signell <artur.signell@itmill.com>
Tue, 31 Jul 2012 10:47:09 +0000 (10:47 +0000)
committerArtur Signell <artur.signell@itmill.com>
Tue, 31 Jul 2012 10:47:09 +0000 (10:47 +0000)
svn changeset:24039/svn branch:6.8

src/com/vaadin/terminal/gwt/client/Util.java

index 9c06554a6e3f8d2755f4b95effa9c3d7eb723115..b442f789ee8d84b1e13dd4e5f081e168df57f687 100644 (file)
@@ -1076,16 +1076,12 @@ public class Util {
         Paintable paintable = c.getPaintable(id);
         if (paintable != null) {
             VConsole.log("\t" + id + " (" + paintable.getClass() + ") :");
-            for (String[] var : vars) {
-                VConsole.log("\t\t" + var[1] + " (" + var[2] + ")" + " : "
-                        + var[0]);
-            }
         } else {
             VConsole.log("\t" + id + ": Warning: no corresponding paintable!");
-            for (String[] var : vars) {
-                VConsole.log("\t\t" + var[1] + " (" + var[2] + ")" + " : "
-                        + var[0]);
-            }
+        }
+
+        for (String[] var : vars) {
+            VConsole.log("\t\t" + var[1] + " (" + var[2] + ")" + " : " + var[0]);
         }
     }