Skip to content

Commit

Permalink
Mark AbstractService#setRepository as VisibleForTesting
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Oct 8, 2014
1 parent 44aad15 commit 5188186
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -24,6 +24,7 @@
import javax.jcr.RepositoryException;
import javax.jcr.Session;

import com.google.common.annotations.VisibleForTesting;
import org.fcrepo.jcr.FedoraJcrTypes;
import org.fcrepo.kernel.exception.FedoraInvalidNamespaceException;
import org.fcrepo.kernel.exception.RepositoryRuntimeException;
Expand All @@ -47,6 +48,7 @@ public abstract class AbstractService extends JcrTools implements FedoraJcrTypes
* @param repository
*/
@Override
@VisibleForTesting
public void setRepository(final Repository repository) {
repo = repository;
}
Expand Down

0 comments on commit 5188186

Please sign in to comment.