From 029354ff409b6ca52f5213bd77415ab8630d3b2a Mon Sep 17 00:00:00 2001 From: James Moger Date: Thu, 17 Apr 2014 22:50:52 -0400 Subject: [PATCH] [findbugs] Remove dead code in UserPage --- src/main/java/com/gitblit/wicket/pages/UserPage.java | 7 ------- 1 file changed, 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:#"); -- 2.39.5