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.
entries
values()
1 parent 40fa386 commit 19da2dbCopy full SHA for 19da2db
model/src/test/kotlin/licenses/ResolvedLicenseInfoTest.kt
@@ -229,10 +229,7 @@ private val RESOLVED_LICENSE_INFO: ResolvedLicenseInfo by lazy {
229
* effectiveLicense(), rather computation-heavy.
230
*/
231
private val COMPUTATION_HEAVY_RESOLVED_LICENSE_INFO: ResolvedLicenseInfo by lazy {
232
- val licensesWithoutChoice = SpdxLicense.values()
233
- .toList()
234
- .subList(0, 200)
235
- .map { SpdxExpression.parse(it.id) }
+ val licensesWithoutChoice = SpdxLicense.entries.subList(0, 200).map { SpdxExpression.parse(it.id) }
236
237
// Expressions taken from a real world scan with swapped identifiers.
238
val licensesWithChoice = listOf(
0 commit comments