diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/src/main/java/com/vaadin/client/Profiler.java | 12 | ||||
-rw-r--r-- | client/src/main/java/com/vaadin/client/ui/layout/LayoutDependencyTree.java | 22 |
2 files changed, 0 insertions, 34 deletions
diff --git a/client/src/main/java/com/vaadin/client/Profiler.java b/client/src/main/java/com/vaadin/client/Profiler.java index afc0096469..3986bdddbb 100644 --- a/client/src/main/java/com/vaadin/client/Profiler.java +++ b/client/src/main/java/com/vaadin/client/Profiler.java @@ -197,18 +197,6 @@ public class Profiler { return Collections.unmodifiableCollection(children.values()); } - private void buildRecursiveString(StringBuilder builder, - String prefix) { - if (getName() != null) { - String msg = getStringRepresentation(prefix); - builder.append(msg + '\n'); - } - String childPrefix = prefix + "*"; - for (Node node : children.values()) { - node.buildRecursiveString(builder, childPrefix); - } - } - @Override public String toString() { return getStringRepresentation(""); diff --git a/client/src/main/java/com/vaadin/client/ui/layout/LayoutDependencyTree.java b/client/src/main/java/com/vaadin/client/ui/layout/LayoutDependencyTree.java index 26aaf837f5..815509c44b 100644 --- a/client/src/main/java/com/vaadin/client/ui/layout/LayoutDependencyTree.java +++ b/client/src/main/java/com/vaadin/client/ui/layout/LayoutDependencyTree.java @@ -311,28 +311,6 @@ public class LayoutDependencyTree { } - /** - * Go up the hierarchy to find a component whose size might have changed - * in the other direction because changes to this component causes - * scrollbars to appear or disappear. - * - * @return - */ - private LayoutDependency findPotentiallyChangedScrollbar() { - ComponentConnector currentConnector = connector; - while (true) { - ServerConnector parent = currentConnector.getParent(); - if (!(parent instanceof ComponentConnector)) { - return null; - } - if (parent instanceof MayScrollChildren) { - return getDependency(currentConnector.getConnectorId(), - getOppositeDirection()); - } - currentConnector = (ComponentConnector) parent; - } - } - private int getOppositeDirection() { return direction == HORIZONTAL ? VERTICAL : HORIZONTAL; } |