From e1941afd8f00b85da9c87a863828b54c755db684 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Tue, 31 Jul 2012 10:47:09 +0000 Subject: [PATCH] Removed duplicated code (#9189) svn changeset:24039/svn branch:6.8 --- src/com/vaadin/terminal/gwt/client/Util.java | 12 ++++-------- 1 file 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]); } } -- 2.39.5