void addFolder(Folder folder) throws RepositoryException {
  acquireWriteLock();
  try {
    folders.add(folder);
  }
  finally {
    releaseWriteLock();
  }
}

void addFolder ( Folder folder ) throws RepositoryException { acquireWriteLock ( ) ; try { folders . add ( folder ) ; } finally { releaseWriteLock ( ) ; } }
adds a folder to the list of folders .
