public void addListener(final FileAlterationListener listener){
  if (listener != null) {
    listeners.add(listener);
  }
}

public void addListener ( final FileAlterationListener listener ) { if ( listener != null ) { listeners . add ( listener ) ; } }
add a file system listener .
