The Unified and Autonomous Development Platform
midwork
robin shine53e1a3d6130a
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/depot/DepotPage.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/depot/DepotPage.javaindex 01ae974a32..9244093e8a 100644--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/depot/DepotPage.java+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/depot/DepotPage.java@@ -60,20 +60,20 @@ import com.pmease.gitplex.web.page.depot.tags.DepotTagsPage;@SuppressWarnings("serial")public abstract class DepotPage extends AccountPage {- private static final String PARAM_REPO = "repo";+ private static final String PARAM_DEPOT = "depot";protected final IModel<Depot> depotModel;public static PageParameters paramsOf(Depot depot) {PageParameters params = paramsOf(depot.getUser());- params.set(PARAM_REPO, depot.getName());+ params.set(PARAM_DEPOT, depot.getName());return params;}public DepotPage(PageParameters params) {super(params);- String repoName = params.get(PARAM_REPO).toString();+ String repoName = params.get(PARAM_DEPOT).toString();Preconditions.checkNotNull(repoName);if (repoName.endsWith(Constants.DOT_GIT_EXT))