Browse Source

Added missing parametrisation onto the column field of the GridContextClickEvent. (#8473)

* Added missing parametrisation onto the column field of the GridContextClickEvent.
tags/8.0.0.rc1
SomeoneToIgnore 7 years ago
parent
commit
5061d53a55
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      server/src/main/java/com/vaadin/ui/Grid.java

+ 3
- 3
server/src/main/java/com/vaadin/ui/Grid.java View 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;
}


Loading…
Cancel
Save