Skip to content

Commit ae3fd44

Browse files
committed
AE-1293: correction of attribute name
1 parent 5e35d16 commit ae3fd44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/ae-inventory-processor/src/main/java/org/metaeffekt/core/inventory/processor/adapter/LicenseSummaryAdapter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class LicenseSummaryAdapter {
3737
*
3838
* @return An inventory with artifacts parsed from the file.
3939
*
40-
* @throws IOException TODO: Missing description
40+
* @throws IOException Thrown in case access to file system is failing.
4141
*/
4242
public Inventory createInventoryFromLicenseSummary(File licenseSummaryFile, String relPath) throws IOException {
4343
final String content = FileUtils.readFileToString(licenseSummaryFile, FileUtils.ENCODING_UTF_8);
@@ -113,7 +113,7 @@ private String mapKey(Object originalKey) {
113113
switch (String.valueOf(originalKey)) {
114114
case "Name": return "Id";
115115
case "Version": return "Version";
116-
case "License": return "Package Specified Licenses";
116+
case "License": return "Package Specified License";
117117
case "URL": return "URL";
118118
case "VendorUrl": return "Vendor URL";
119119
case "VendorName": return "Vendor";

0 commit comments

Comments
 (0)