@Override public void removeWatcher(String name){
synchronized (watchers) {
    if (watchers.contains(name)) {
      device.removeWatcher(name);
      watchers.remove(name);
    }
  }
}

@ Override public void removeWatcher ( String name ) { synchronized ( watchers ) { if ( watchers . contains ( name ) ) { device . removeWatcher ( name ) ; watchers . remove ( name ) ; } } }
removes a previously registered uiwatcher .
