summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-04-17 22:50:52 -0400
committerJames Moger <james.moger@gitblit.com>2014-04-17 23:08:07 -0400
commit029354ff409b6ca52f5213bd77415ab8630d3b2a (patch)
treebb8b75037df72edd1775ae5c010a8db5d1479e04
parent253957ab46423071969f5faca2174934416b1cc4 (diff)
downloadgitblit-029354ff409b6ca52f5213bd77415ab8630d3b2a.tar.gz
gitblit-029354ff409b6ca52f5213bd77415ab8630d3b2a.zip
[findbugs] Remove dead code in UserPage
-rw-r--r--src/main/java/com/gitblit/wicket/pages/UserPage.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/UserPage.java b/src/main/java/com/gitblit/wicket/pages/UserPage.java
index 1e5ddcf0..a5d38d16 100644
--- a/src/main/java/com/gitblit/wicket/pages/UserPage.java
+++ b/src/main/java/com/gitblit/wicket/pages/UserPage.java
@@ -83,13 +83,6 @@ public class UserPage extends RootPage {
user = new UserModel(userName);
}
- String projectName = user.getPersonalPath();
-
- ProjectModel project = app().projects().getProjectModel(projectName);
- if (project == null) {
- project = new ProjectModel(projectName);
- }
-
add(new Label("userDisplayName", user.getDisplayName()));
add(new Label("userUsername", user.username));
LinkPanel email = new LinkPanel("userEmail", null, user.emailAddress, "mailto:#");