diff --git a/src/webapp/resources/admin/analysis.jsp b/src/webapp/resources/admin/analysis.jsp index 21fdf3a9fa3..7131e0c16fb 100644 --- a/src/webapp/resources/admin/analysis.jsp +++ b/src/webapp/resources/admin/analysis.jsp @@ -312,11 +312,21 @@ List[] arr = (List[])map.values().toArray(new ArrayList[map.size()]); + /* Jetty 6.1.3 miscompiles this generics version... Arrays.sort(arr, new Comparator>() { public int compare(List toks, List toks1) { return toks.get(0).pos - toks1.get(0).pos; } } + */ + + Arrays.sort(arr, new Comparator() { + public int compare(Object toks, Object toks1) { + return ((List)toks).get(0).pos - ((List)toks1).get(0).pos; + } + } + + ); out.println("");