Skip to content

Commit

Permalink
Remove unused field in ComboBox
Browse files Browse the repository at this point in the history
Change-Id: Ie4f0af1389a97ce18fb4a6c8f7ccdf5bbdc00d32
  • Loading branch information
Teemu Suo-Anttila authored and Henri Sara committed Nov 29, 2016
1 parent 8310ada commit 9aee6e6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions server/src/main/java/com/vaadin/ui/ComboBox.java
Expand Up @@ -132,21 +132,15 @@ public void createNewItem(String itemValue) {
if (getNewItemHandler() != null && itemValue != null
&& itemValue.length() > 0) {
getNewItemHandler().accept(itemValue);
// rebuild list
filterstring = null;
}
}

@Override
public void setFilter(String filterText) {
filterstring = filterText;
getDataCommunicator().setFilter(filterText);
}
};

// TODO: Check if this can be removed.
private String filterstring;

/**
* Handler for new items entered by the user.
*/
Expand Down

0 comments on commit 9aee6e6

Please sign in to comment.