Commit 4d3b016
committed
refactor(spdx): Only determine the ORT package
As `toPackage()` internally calls `toIdentifier()`, use that `id`
instead of determining it again.
This simplifies an upcoming change.
Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>id once1 parent 077cb02 commit 4d3b016
File tree
1 file changed
+7
-4
lines changed- plugins/package-managers/spdx/src/main/kotlin
1 file changed
+7
-4
lines changedLines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
364 | | - | |
| 364 | + | |
| 365 | + | |
365 | 366 | | |
366 | 367 | | |
367 | | - | |
| 368 | + | |
368 | 369 | | |
369 | 370 | | |
370 | 371 | | |
| |||
445 | 446 | | |
446 | 447 | | |
447 | 448 | | |
448 | | - | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
449 | 452 | | |
450 | | - | |
| 453 | + | |
451 | 454 | | |
452 | 455 | | |
453 | 456 | | |
| |||
0 commit comments