]> source.dussan.org Git - vaadin-framework.git/commitdiff
Removes getter for DataSource in SortEvent (#13334)
authorHenrik Paul <henrik@vaadin.com>
Wed, 15 Oct 2014 06:21:56 +0000 (09:21 +0300)
committerVaadin Code Review <review@vaadin.com>
Tue, 28 Oct 2014 08:53:30 +0000 (08:53 +0000)
Exposing this is very weird for a sort event. Nothing uses it atm, and nothing should ever.

Change-Id: Iabfc0083b26e8b8aa2ca68cb636ca1442aab246d

client/src/com/vaadin/client/ui/grid/sort/SortEvent.java

index 97566d944b02fe3bd8c1111b3b2d06a51e1edc1e..b0e1d275394df47006b3c3276a6f913f3cae541f 100644 (file)
@@ -89,15 +89,6 @@ public class SortEvent<T> extends GwtEvent<SortEventHandler<?>> {
         return grid;
     }
 
-    /**
-     * Access the data source of the Grid that fired this event
-     * 
-     * @return a data source instance
-     */
-    public DataSource<T> getDataSource() {
-        return grid.getDataSource();
-    }
-
     /**
      * Get the sort ordering that is to be applied to the Grid
      *