From 881af79989a20db50401ff3a6c7640eedb7cf100 Mon Sep 17 00:00:00 2001 From: Matti Tahvonen Date: Wed, 7 Jan 2009 13:56:31 +0000 Subject: [PATCH] removed ugly obsolete debug code svn changeset:6433/svn branch:trunk --- .../gwt/client/ApplicationConnection.java | 39 ------------------- 1 file changed, 39 deletions(-) diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ApplicationConnection.java b/src/com/itmill/toolkit/terminal/gwt/client/ApplicationConnection.java index fc3851fee9..6121ca9686 100755 --- a/src/com/itmill/toolkit/terminal/gwt/client/ApplicationConnection.java +++ b/src/com/itmill/toolkit/terminal/gwt/client/ApplicationConnection.java @@ -1204,8 +1204,6 @@ public class ApplicationConnection { * @return true if the child has a relative size */ public boolean handleComponentRelativeSize(Widget child) { - final boolean debugSizes = false; - Widget widget = child; FloatSize relativeSize = getRelativeSize(child); if (relativeSize == null) { @@ -1257,25 +1255,6 @@ public class ApplicationConnection { height = 0; } - if (debugSizes) { - getConsole() - .log( - "Widget " - + Util.getSimpleName(widget) - + "/" - + widget.hashCode() - + " relative height " - + relativeSize.getHeight() - + "% of " - + renderSpace.getHeight() - + "px (reported by " - - + Util.getSimpleName(parent) - + "/" - + (parent == null ? "?" : parent - .hashCode()) + ") : " - + height + "px"); - } widget.setHeight(height + "px"); } else { widget.setHeight(relativeSize.getHeight() + "%"); @@ -1316,24 +1295,6 @@ public class ApplicationConnection { width = 0; } - if (debugSizes) { - getConsole() - .log( - "Widget " - + Util.getSimpleName(widget) - + "/" - + widget.hashCode() - + " relative width " - + relativeSize.getWidth() - + "% of " - + renderSpace.getWidth() - + "px (reported by " - + Util.getSimpleName(parent) - + "/" - + (parent == null ? "?" : parent - .hashCode()) + ") : " - + width + "px"); - } widget.setWidth(width + "px"); } else { widget.setWidth(relativeSize.getWidth() + "%"); -- 2.39.5