protected ManageableRepository getWorkingRepository ( ) throws RepositoryException , RepositoryConfigurationException { return repositoryName != null ? repositoryService . getRepository ( repositoryName ) : repositoryService . getCurrentRepository ( ) ; }
Returns working repository . If repository name is configured then it will be returned otherwise the current repository is used .