summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2012-07-31 10:47:09 +0000
committerArtur Signell <artur.signell@itmill.com>2012-07-31 10:47:09 +0000
commite1941afd8f00b85da9c87a863828b54c755db684 (patch)
treee034aa0fe396fa5ed189e2930d45856f4ccb71d5 /src/com
parent4c9fedc2636d21afe6c6df47d244688054885c03 (diff)
downloadvaadin-framework-e1941afd8f00b85da9c87a863828b54c755db684.tar.gz
vaadin-framework-e1941afd8f00b85da9c87a863828b54c755db684.zip
Removed duplicated code (#9189)
svn changeset:24039/svn branch:6.8
Diffstat (limited to 'src/com')
-rw-r--r--src/com/vaadin/terminal/gwt/client/Util.java12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/Util.java b/src/com/vaadin/terminal/gwt/client/Util.java
index 9c06554a6e..b442f789ee 100644
--- a/src/com/vaadin/terminal/gwt/client/Util.java
+++ b/src/com/vaadin/terminal/gwt/client/Util.java
@@ -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]);
}
}