1 |
commit: d87268c1674caf498a8cb65033a6a1b763112e35 |
2 |
Author: zongyu <zzy2529420793 <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Aug 4 07:08:00 2020 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 4 07:08:00 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/java-ebuilder.git/commit/?id=d87268c1 |
7 |
|
8 |
sort licenses |
9 |
|
10 |
Signed-off-by: zongyu <zzy2529420793 <AT> gmail.com> |
11 |
|
12 |
src/main/java/org/gentoo/java/ebuilder/maven/MavenProject.java | 6 +++--- |
13 |
1 file changed, 3 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/src/main/java/org/gentoo/java/ebuilder/maven/MavenProject.java b/src/main/java/org/gentoo/java/ebuilder/maven/MavenProject.java |
16 |
index 4ce11b8..e1016a8 100644 |
17 |
--- a/src/main/java/org/gentoo/java/ebuilder/maven/MavenProject.java |
18 |
+++ b/src/main/java/org/gentoo/java/ebuilder/maven/MavenProject.java |
19 |
@@ -4,9 +4,9 @@ import java.io.PrintWriter; |
20 |
import java.nio.file.Path; |
21 |
import java.util.ArrayList; |
22 |
import java.util.Collections; |
23 |
-import java.util.HashSet; |
24 |
import java.util.List; |
25 |
-import java.util.Set; |
26 |
+import java.util.SortedSet; |
27 |
+import java.util.TreeSet; |
28 |
|
29 |
/** |
30 |
* Contains information about maven project collected from pom.xml. |
31 |
@@ -46,7 +46,7 @@ public class MavenProject { |
32 |
/** |
33 |
* Lisences. |
34 |
*/ |
35 |
- private Set<String> licenses = new HashSet<>(10); |
36 |
+ private SortedSet<String> licenses = new TreeSet<>(10); |
37 |
/** |
38 |
* Homepage URL. |
39 |
*/ |