commit: d87268c1674caf498a8cb65033a6a1b763112e35 Author: zongyu <zzy2529420793 <AT> gmail <DOT> com> AuthorDate: Tue Aug 4 07:08:00 2020 +0000 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> CommitDate: Tue Aug 4 07:08:00 2020 +0000 URL: https://gitweb.gentoo.org/proj/java-ebuilder.git/commit/?id=d87268c1
sort licenses Signed-off-by: zongyu <zzy2529420793 <AT> gmail.com> src/main/java/org/gentoo/java/ebuilder/maven/MavenProject.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/gentoo/java/ebuilder/maven/MavenProject.java b/src/main/java/org/gentoo/java/ebuilder/maven/MavenProject.java index 4ce11b8..e1016a8 100644 --- a/src/main/java/org/gentoo/java/ebuilder/maven/MavenProject.java +++ b/src/main/java/org/gentoo/java/ebuilder/maven/MavenProject.java @@ -4,9 +4,9 @@ import java.io.PrintWriter; import java.nio.file.Path; import java.util.ArrayList; import java.util.Collections; -import java.util.HashSet; import java.util.List; -import java.util.Set; +import java.util.SortedSet; +import java.util.TreeSet; /** * Contains information about maven project collected from pom.xml. @@ -46,7 +46,7 @@ public class MavenProject { /** * Lisences. */ - private Set<String> licenses = new HashSet<>(10); + private SortedSet<String> licenses = new TreeSet<>(10); /** * Homepage URL. */