public RepoContentActivity(String repoURI, String prefix, ClientFactory factory) {
   this.cacheManager = factory.getCacheManager();
   this.historyMapper = factory.getHistoryMapper();
   this.repositoryUri = repoURI;
   this.prefix = isBlankOrNull(prefix) ? null : prefix;
   this.placeController = factory.getPlaceController();
   this.display = factory.getRepoContentView();
 }
Example #2
0
 public RepoActivity(String repositoryUri, ClientFactory factory) {
   this.cacheManager = factory.getCacheManager();
   this.repositoryUri = repositoryUri;
   this.placeController = factory.getPlaceController();
   this.display = factory.getRepoView();
 }