From 8c558b9988160216b6942e3a5a2ba0455de57046 Mon Sep 17 00:00:00 2001 From: Henri Sara Date: Mon, 8 Aug 2016 14:33:24 +0300 Subject: Rename field in VFilterSelect.DataReceivedHandler for clarity Change-Id: Iaf951b0c50a124b5be377659eac4d3966f20b383 --- client/src/main/java/com/vaadin/client/ui/VFilterSelect.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'client') diff --git a/client/src/main/java/com/vaadin/client/ui/VFilterSelect.java b/client/src/main/java/com/vaadin/client/ui/VFilterSelect.java index 907532e55c..cbaefde22f 100644 --- a/client/src/main/java/com/vaadin/client/ui/VFilterSelect.java +++ b/client/src/main/java/com/vaadin/client/ui/VFilterSelect.java @@ -1403,7 +1403,7 @@ public class VFilterSelect extends Composite implements Field, KeyDownHandler, * For internal use only. May be removed or replaced in the future. */ private boolean popupOpenerClicked = false; - private boolean updateOnDataReceived = false; + private boolean performPostFilteringOnDataReceived = false; /** For internal use only. May be removed or replaced in the future. */ private boolean waitingForFilteringResponse = false; @@ -1421,8 +1421,8 @@ public class VFilterSelect extends Composite implements Field, KeyDownHandler, navigateItemAfterPageChange(); } - if (updateOnDataReceived) { - updateOnDataReceived = false; + if (performPostFilteringOnDataReceived) { + performPostFilteringOnDataReceived = false; suggestionPopup.menu.doPostFilterSelectedItemAction(); } @@ -1490,7 +1490,7 @@ public class VFilterSelect extends Composite implements Field, KeyDownHandler, * Cancel a pending request to perform post-filtering actions. */ private void cancelPendingPostFiltering() { - updateOnDataReceived = false; + performPostFilteringOnDataReceived = false; } /** @@ -1525,9 +1525,9 @@ public class VFilterSelect extends Composite implements Field, KeyDownHandler, */ private void doPostFilterWhenReady() { if (isWaitingForFilteringResponse()) { - updateOnDataReceived = true; + performPostFilteringOnDataReceived = true; } else { - updateOnDataReceived = false; + performPostFilteringOnDataReceived = false; suggestionPopup.menu.doPostFilterSelectedItemAction(); } } -- cgit v1.2.3