question: public void removeRepository ( Repository repository ) { repository . preRemove ( ) ; repository . removeRepositoryListener ( repositoryListener ) ; repositories . remove ( repository ) ; fireUpdate ( null ) ; }
target:  Removes a registered repository.