From 242b09c8ece1a35d7b2c1473537a0fafc70bd1bb Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Fri, 16 Mar 2012 15:52:53 +0200 Subject: [PATCH] Removed unused code --- .../terminal/gwt/server/AbstractCommunicationManager.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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(); } -- 2.39.5