We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a6f206 commit fbef3dbCopy full SHA for fbef3db
src/main/java/com/spdx/service/FileStorageImpl.java
@@ -13,6 +13,7 @@
13
import java.nio.file.StandardCopyOption;
14
import java.util.ArrayList;
15
import java.util.HashSet;
16
+import java.util.LinkedList;
17
import java.util.List;
18
import java.util.Properties;
19
import java.util.Set;
@@ -125,7 +126,7 @@ public OutputModel readContentFile(String fileName) throws Exception {
125
126
utils.importComponentAddReLease(rootPathFile + fileName, component, release);
127
128
// Set licenseIds for component
- Set<String> licenseIds = new HashSet<String>();
129
+ List<String> licenseIds = new LinkedList<String>();
130
for (SpdxLicense license : lstLicense) {
131
licenseIds.add(license.getShortName());
132
}
0 commit comments