From 43a7baf7c3d54b56f33ea6799560d6d1d430ca58 Mon Sep 17 00:00:00 2001 From: Cap10Bill Date: Tue, 3 Jan 2017 18:52:11 +0000 Subject: [PATCH] Fixed Compile --- web/menu.jspf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/menu.jspf b/web/menu.jspf index 6348d3fd102..137b1a7bef2 100644 --- a/web/menu.jspf +++ b/web/menu.jspf @@ -52,7 +52,7 @@ org.opensolaris.opengrok.web.Util" ProjectHelper ph = ProjectHelper.getInstance(cfg); Set projects = ph.getAllProjects(); if (projects == null) { - projects = new TreeSet<>(); + projects = new TreeSet(); } int projectsSize = ph.getAllUngrouped().size(); if (ph.getGroups().size() > 0 && ph.getAllUngrouped().size() > 0) @@ -61,7 +61,7 @@ org.opensolaris.opengrok.web.Util" projectsSize++; projectsSize += ph.getAllGrouped(group).size(); } - TreeMap pMap = new TreeMap<>(); + TreeMap pMap = new TreeMap(); QueryBuilder queryParams = cfg.getQueryBuilder(); if (projects.size() != 0) { for (Project p : projects) {