remove unused method. close() is neither needed nor called anywhere

closes #10175
This commit is contained in:
Britta Weber 2015-03-19 16:33:59 -07:00
parent 48388dbb6e
commit f253542abb
1 changed files with 0 additions and 7 deletions

View File

@ -147,13 +147,6 @@ public class ClusterStateObserver {
}
}
public void close() {
if (observingContext.getAndSet(null) != null) {
clusterService.remove(clusterStateListener);
logger.trace("cluster state observer closed");
}
}
/**
* reset this observer to the give cluster state. Any pending waits will be canceled.
*