diff --git a/src/main/java/com/box/sdk/EventStream.java b/src/main/java/com/box/sdk/EventStream.java index ce13c5ab4..9776a359e 100644 --- a/src/main/java/com/box/sdk/EventStream.java +++ b/src/main/java/com/box/sdk/EventStream.java @@ -65,7 +65,7 @@ public void uncaughtException(Thread t, Throwable e) { this.started = true; } - private void notifyListeners(BoxEvent event) { + private void notifyEvent(BoxEvent event) { synchronized (this.listenerLock) { boolean newEvent = this.receivedEvents.add(event.getID()); if (newEvent) { @@ -127,7 +127,7 @@ public void run() { JsonArray entriesArray = jsonObject.get("entries").asArray(); for (JsonValue entry : entriesArray) { BoxEvent event = new BoxEvent(EventStream.this.api, entry.asObject()); - EventStream.this.notifyListeners(event); + EventStream.this.notifyEvent(event); } } }