public List<Logger> getLoggerList() { Collection collection = this.loggerCache.values(); ArrayList loggerList = new ArrayList(collection); Collections.sort(loggerList, new LoggerComparator()); return loggerList; }
public List<Logger> getLoggerList() { Collection<Logger> collection = loggerCache.values(); List<Logger> loggerList = new ArrayList<Logger>(collection); Collections.sort(loggerList, new LoggerComparator()); return loggerList; }