aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/ui/Grid.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/main/java/com/vaadin/ui/Grid.java')
-rw-r--r--server/src/main/java/com/vaadin/ui/Grid.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/server/src/main/java/com/vaadin/ui/Grid.java b/server/src/main/java/com/vaadin/ui/Grid.java
index ceeec79ac1..0105fd9b4e 100644
--- a/server/src/main/java/com/vaadin/ui/Grid.java
+++ b/server/src/main/java/com/vaadin/ui/Grid.java
@@ -3623,13 +3623,6 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
.forEach(this::removeColumn);
}
- private String getIdentifier(Column<T, ?> column) {
- return columnKeys.entrySet().stream()
- .filter(entry -> entry.getValue().equals(column))
- .map(entry -> entry.getKey()).findFirst()
- .orElse(getGeneratedIdentifier());
- }
-
private String getGeneratedIdentifier() {
String columnId = "" + counter;
counter++;