204205206207208209210
SyncStatus syncStatus = (syncRunning) ? SyncStatus.SYNCING : SyncStatus.IN_SYNC; watchList.add(new Watch(watchFolder, syncStatus)); } eventBus.post(new ListWatchesManagementResponse(request.getId(), watchList)); }