diff --git a/src/main/java/com/flowingcode/vaadin/addons/twincolgrid/TwinColGridListAdapter.java b/src/main/java/com/flowingcode/vaadin/addons/twincolgrid/TwinColGridListAdapter.java index 068e60e..fd93c7f 100644 --- a/src/main/java/com/flowingcode/vaadin/addons/twincolgrid/TwinColGridListAdapter.java +++ b/src/main/java/com/flowingcode/vaadin/addons/twincolgrid/TwinColGridListAdapter.java @@ -98,8 +98,8 @@ public Registration addValueChangeListener( delegate.addValueChangeListener( ev -> { List value = new ArrayList<>(ev.getValue()); - ValueChangeEvent> listEvent; - listEvent = new ValueChangeEventImpl(ev.isFromClient(), new ArrayList<>(value)); + ValueChangeEvent> listEvent = + new ValueChangeEventImpl(ev.isFromClient(), new ArrayList<>(value)); listener.valueChanged(listEvent); })); @@ -110,8 +110,8 @@ public Registration addValueChangeListener( .addSortListener( ev -> { List value = getValue(); - ValueChangeEvent> listEvent; - listEvent = new ValueChangeEventImpl(ev.isFromClient(), value); + ValueChangeEvent> listEvent = + new ValueChangeEventImpl(ev.isFromClient(), value); listener.valueChanged(listEvent); }));