aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzongyu <zzy2529420793@gmail.com>2020-08-04 15:08:00 +0800
committerzongyu <zzy2529420793@gmail.com>2020-08-04 15:08:00 +0800
commitd87268c1674caf498a8cb65033a6a1b763112e35 (patch)
tree3840f1ac356044f413e58bd5bbff1acee591fe6e
parentinitial effort to support multiple testing frameworks (diff)
downloadjava-ebuilder-d87268c1674caf498a8cb65033a6a1b763112e35.tar.gz
java-ebuilder-d87268c1674caf498a8cb65033a6a1b763112e35.tar.bz2
java-ebuilder-d87268c1674caf498a8cb65033a6a1b763112e35.zip
sort licenses
Signed-off-by: zongyu <zzy2529420793@gmail.com>
-rw-r--r--src/main/java/org/gentoo/java/ebuilder/maven/MavenProject.java6
1 files 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.
*/