James Moger
2011-04-04 fb01c9c8cc36ac28c895b6b7daad39038f3d17a2
src/com/gitblit/utils/JGitUtils.java
@@ -349,7 +349,7 @@
         Collections.sort(list);
         Collections.reverse(list);
         if (maxCount > 0 && list.size() > maxCount) {
            list = list.subList(0, maxCount);
            list = new ArrayList<RefModel>(list.subList(0, maxCount));
         }
      } catch (IOException e) {
         LOGGER.error("Failed to retrieve " + refs, e);