7778798081828384858687
if(metric.getStateAfterChanges(changes) == OWLAPIProjectMetricState.DIRTY) { dirtyMetrics.add(metric); } } if(!dirtyMetrics.isEmpty()) { eventBus.postEvent(new MetricsChangedEvent(projectId)); } } finally { writeLock.unlock(); }