]> source.dussan.org Git - vaadin-framework.git/commitdiff
Added missing parametrisation onto the column field of the GridContextClickEvent...
authorSomeoneToIgnore <mail4score@gmail.com>
Tue, 7 Feb 2017 10:32:56 +0000 (13:32 +0300)
committerDenis <denis@vaadin.com>
Tue, 7 Feb 2017 10:32:56 +0000 (12:32 +0200)
* Added missing parametrisation onto the column field of the GridContextClickEvent.

server/src/main/java/com/vaadin/ui/Grid.java

index bb740abbcff0aeac8a2adeb58e21810e84dc8154..fc45ffe5397f52ed21327f77bb90df98b3b9ca16 100644 (file)
@@ -366,7 +366,7 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
 
         private final T item;
         private final int rowIndex;
-        private final Column<?, ?> column;
+        private final Column<T, ?> column;
         private final Section section;
 
         /**
@@ -387,7 +387,7 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
          */
         public GridContextClickEvent(Grid<T> source,
                 MouseEventDetails mouseEventDetails, Section section,
-                int rowIndex, T item, Column<?, ?> column) {
+                int rowIndex, T item, Column<T, ?> column) {
             super(source, mouseEventDetails);
             this.item = item;
             this.section = section;
@@ -409,7 +409,7 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
          *
          * @return the clicked column
          */
-        public Column<?, ?> getColumn() {
+        public Column<T, ?> getColumn() {
             return column;
         }