Skip to content

Commit d58a196

Browse files
kopporsubhramit
andauthored
Apply suggestions from code review
Co-authored-by: Subhramit Basu <[email protected]>
1 parent dd2ac4f commit d58a196

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jabsrv/src/main/java/org/jabref/http/server/cayw/gui/SearchField.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class SearchField<T> extends TextField {
1616

1717
public SearchField(FilteredList<CAYWEntry<T>> filteredEntries, Function<String, List<T>> filter) {
1818
PauseTransition pause = new PauseTransition(Duration.millis(DELAY_IN_MS));
19-
textProperty().addListener((observable, oldValue, newValue) -> {
19+
textProperty().addListener((_, _, newValue) -> {
2020
pause.setOnFinished(event -> {
2121
Set<T> currentEntries = new HashSet<>(filter.apply(newValue));
2222
filteredEntries.setPredicate(entry -> currentEntries.contains(entry.getValue()));

0 commit comments

Comments
 (0)