summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/src/com/vaadin/client/communication/StateChangeEvent.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/communication/StateChangeEvent.java b/client/src/com/vaadin/client/communication/StateChangeEvent.java
index 205c69fec8..e17a56aa69 100644
--- a/client/src/com/vaadin/client/communication/StateChangeEvent.java
+++ b/client/src/com/vaadin/client/communication/StateChangeEvent.java
@@ -235,7 +235,7 @@ public class StateChangeEvent extends
/*-{
var segments = property.split('.');
while (typeof target == 'object') {
- var currentSegment = segments.shift();
+ var nextSegment = segments.shift();
if (!(nextSegment in target)) {
// Abort if segment is not found
return false;