diff --git a/maven-jellydoc-plugin/src/main/java/org/jvnet/maven/jellydoc/ReferenceRenderer.java b/maven-jellydoc-plugin/src/main/java/org/jvnet/maven/jellydoc/ReferenceRenderer.java index a76b31c..6a532f4 100644 --- a/maven-jellydoc-plugin/src/main/java/org/jvnet/maven/jellydoc/ReferenceRenderer.java +++ b/maven-jellydoc-plugin/src/main/java/org/jvnet/maven/jellydoc/ReferenceRenderer.java @@ -27,7 +27,6 @@ import java.util.Set; import java.util.HashSet; import java.util.Arrays; -import java.util.Collections; import java.util.Comparator; import java.util.ArrayList; import java.io.StringWriter; @@ -120,7 +119,7 @@ private void renderSummaryTable(Element library, String prefix) { private List sortByName(List list) { List tags = new ArrayList<>(list); - Collections.sort(tags,SORT_BY_NAME); + tags.sort(SORT_BY_NAME); return tags; }