]> source.dussan.org Git - vaadin-framework.git/commitdiff
Remove getters and setters from converted state
authorLeif Åstrand <leif@vaadin.com>
Fri, 5 Oct 2012 09:01:43 +0000 (12:01 +0300)
committerLeif Åstrand <leif@vaadin.com>
Fri, 5 Oct 2012 09:01:43 +0000 (12:01 +0300)
uitest/src/com/vaadin/tests/minitutorials/v7a3/Flot.java
uitest/src/com/vaadin/tests/minitutorials/v7a3/FlotState.java

index 3facad36316d416b665827c4d4931626b41c07ca..72d8b206b954a150a39fd2f29e302979ecb0ce47 100644 (file)
@@ -58,7 +58,7 @@ public class Flot extends AbstractJavaScriptComponent {
                     Double.valueOf(points[i])));
         }
 
-        getState().getSeries().add(pointList);
+        getState().series.add(pointList);
     }
 
     public void highlight(int seriesIndex, int dataIndex) {
index eb9e2f64ce86e27e643601cfe36e56d89ae6316c..a6aacf3d62e5ad93678e3e9e489ba3f49580119f 100644 (file)
@@ -7,12 +7,4 @@ import com.vaadin.shared.ui.JavaScriptComponentState;
 
 public class FlotState extends JavaScriptComponentState {
     public List<List<List<Double>>> series = new ArrayList<List<List<Double>>>();
-
-    public List<List<List<Double>>> getSeries() {
-        return series;
-    }
-
-    public void setSeries(List<List<List<Double>>> series) {
-        this.series = series;
-    }
 }
\ No newline at end of file