changeset 1978:b0090df5cadb

Remove unused field from TreeMapComponent PR3059 Reviewed-by: jkang Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2016-June/019844.html Original-thread: http://icedtea.classpath.org/pipermail/thermostat/2015-September/016407.html
author James Aziz <jaziz@redhat.com>
date Wed, 29 Jun 2016 12:23:00 -0400
parents 733df97a6cd1
children e5259653d335
files client/swing/src/main/java/com/redhat/thermostat/client/swing/components/experimental/TreeMapComponent.java
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/client/swing/src/main/java/com/redhat/thermostat/client/swing/components/experimental/TreeMapComponent.java	Wed Jun 29 12:23:00 2016 -0400
+++ b/client/swing/src/main/java/com/redhat/thermostat/client/swing/components/experimental/TreeMapComponent.java	Wed Jun 29 12:23:00 2016 -0400
@@ -97,8 +97,6 @@
      */
     private TreeMapNode tree;
 
-    private Dimension dimension;
-
     /**
      * Horizontal and vertical padding for nested component.
      */
@@ -187,7 +185,6 @@
     public TreeMapComponent(TreeMapNode tree, Dimension d) {
         super();
         Objects.requireNonNull(d);
-        this.dimension = d;
         this.tree = tree;
         lastDim = getSize();
         this.zoomStack = new Stack<>();