From: James Moger Date: Fri, 18 Apr 2014 02:50:52 +0000 (-0400) Subject: [findbugs] Remove dead code in UserPage X-Git-Tag: v1.5.0~7 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=029354ff409b6ca52f5213bd77415ab8630d3b2a;p=gitblit.git [findbugs] Remove dead code in UserPage --- 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:#");