public void removeListener(final FileAlterationListener listener){
  if (listener != null) {
    while (listeners.remove(listener)) {
    }
  }
}

public void removeListener ( final FileAlterationListener listener ) { if ( listener != null ) { while ( listeners . remove ( listener ) ) { } } }
remove a file system listener .
