]> source.dussan.org Git - vaadin-framework.git/commitdiff
Removed unused code
authorArtur Signell <artur@vaadin.com>
Fri, 16 Mar 2012 13:52:53 +0000 (15:52 +0200)
committerArtur Signell <artur@vaadin.com>
Wed, 21 Mar 2012 13:27:25 +0000 (15:27 +0200)
src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java

index fc5f79a2e7de3f3ef9e1f77782b2b6240ab6716c..0a4231941a144cafe7afec23db28df8eeb3824e4 100644 (file)
@@ -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();
         }