File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
core/src/main/java/org/jboss/pnc/build/finder/core Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 34
34
import java .util .Set ;
35
35
import java .util .regex .Matcher ;
36
36
import java .util .regex .Pattern ;
37
- import java .util .stream .Collectors ;
38
37
39
38
import org .apache .commons .io .FilenameUtils ;
40
39
import org .apache .commons .lang3 .StringUtils ;
@@ -90,7 +89,7 @@ public final class SpdxLicenseUtils {
90
89
List <String > listedLicenseIds = getListedLicenseIds ();
91
90
LICENSE_IDS_LIST = listedLicenseIds .stream ()
92
91
.sorted (comparing (String ::length ).reversed ().thenComparing (naturalOrder ()))
93
- .collect ( Collectors . toList () );
92
+ .toList ();
94
93
LICENSE_NAMES_MAP = new LinkedHashMap <>(EXPECTED_NUM_SPDX_LICENSES );
95
94
LICENSE_NAMES_LIST = new ArrayList <>(EXPECTED_NUM_SPDX_LICENSES );
96
95
You can’t perform that action at this time.
0 commit comments