]> source.dussan.org Git - gitblit.git/commitdiff
[findbugs] Remove dead code in UserPage
authorJames Moger <james.moger@gitblit.com>
Fri, 18 Apr 2014 02:50:52 +0000 (22:50 -0400)
committerJames Moger <james.moger@gitblit.com>
Fri, 18 Apr 2014 03:08:07 +0000 (23:08 -0400)
src/main/java/com/gitblit/wicket/pages/UserPage.java

index 1e5ddcf08764f39525deb5aef61087c7028324d1..a5d38d16c7392c2b12d72e15636dcf469b16ce0d 100644 (file)
@@ -83,13 +83,6 @@ public class UserPage extends RootPage {
                        user = new UserModel(userName);\r
                }\r
 \r
-               String projectName = user.getPersonalPath();\r
-\r
-               ProjectModel project = app().projects().getProjectModel(projectName);\r
-               if (project == null) {\r
-                       project = new ProjectModel(projectName);\r
-               }\r
-\r
                add(new Label("userDisplayName", user.getDisplayName()));\r
                add(new Label("userUsername", user.username));\r
                LinkPanel email = new LinkPanel("userEmail", null, user.emailAddress, "mailto:#");\r