Commit 6159101
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 9f54a3e commit 6159101
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 | |
|---|---|---|---|
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
359 | | - | |
| 359 | + | |
| 360 | + | |
360 | 361 | | |
361 | 362 | | |
362 | | - | |
| 363 | + | |
363 | 364 | | |
364 | 365 | | |
365 | 366 | | |
| |||
440 | 441 | | |
441 | 442 | | |
442 | 443 | | |
443 | | - | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
444 | 447 | | |
445 | | - | |
| 448 | + | |
446 | 449 | | |
447 | 450 | | |
448 | 451 | | |
| |||
0 commit comments