Skip to content

Commit

Permalink
Fixed Compile
Browse files Browse the repository at this point in the history
  • Loading branch information
bnortman committed Jan 3, 2017
1 parent 016cbbf commit 43a7baf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/menu.jspf
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ org.opensolaris.opengrok.web.Util"
ProjectHelper ph = ProjectHelper.getInstance(cfg);
Set<Project> projects = ph.getAllProjects();
if (projects == null) {
projects = new TreeSet<>();
projects = new TreeSet<Project>();
}
int projectsSize = ph.getAllUngrouped().size();
if (ph.getGroups().size() > 0 && ph.getAllUngrouped().size() > 0)
Expand All @@ -61,7 +61,7 @@ org.opensolaris.opengrok.web.Util"
projectsSize++;
projectsSize += ph.getAllGrouped(group).size();
}
TreeMap<String, String> pMap = new TreeMap<>();
TreeMap<String, String> pMap = new TreeMap<String,String>();
QueryBuilder queryParams = cfg.getQueryBuilder();
if (projects.size() != 0) {
for (Project p : projects) {
Expand Down

0 comments on commit 43a7baf

Please sign in to comment.