From: Artur Signell Date: Fri, 16 Mar 2012 13:52:53 +0000 (+0200) Subject: Removed unused code X-Git-Tag: 7.0.0.alpha2~290 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=242b09c8ece1a35d7b2c1473537a0fafc70bd1bb;p=vaadin-framework.git Removed unused code --- diff --git a/src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java b/src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java index fc5f79a2e7..0a4231941a 100644 --- a/src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java +++ b/src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java @@ -127,9 +127,6 @@ public abstract class AbstractCommunicationManager implements private static final String WRITE_SECURITY_TOKEN_FLAG = "writeSecurityToken"; /* Variable records indexes */ - private static final int VAR_PID = 0; - private static final int VAR_METHOD = 1; - public static final char VAR_BURST_SEPARATOR = '\u001d'; public static final char VAR_ESCAPE_CHARACTER = '\u001b'; @@ -1162,7 +1159,7 @@ public abstract class AbstractCommunicationManager implements } private boolean isVisible(Component child) { - HasComponents parent = (HasComponents) child.getParent(); + HasComponents parent = child.getParent(); if (parent == null || !child.isVisible()) { return child.isVisible(); }