Skip to content

Commit

Permalink
style(reporter): Use a shorter name for packageforId
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Viernau <[email protected]>
  • Loading branch information
fviernau committed Nov 24, 2023
1 parent 1d2d88a commit cdd3993
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@ internal object ReportTableModelMapper {
it.summary.issues
}

val packageForId = ortResult.getPackageOrProject(id)?.metadata
val pkg = ortResult.getPackageOrProject(id)?.metadata

val row = DependencyRow(
id = id,
sourceArtifact = packageForId?.sourceArtifact.orEmpty(),
vcsInfo = packageForId?.vcsProcessed.orEmpty(),
sourceArtifact = pkg?.sourceArtifact.orEmpty(),
vcsInfo = pkg?.vcsProcessed.orEmpty(),
scopes = scopesForDependencies[id].orEmpty().toSortedMap(),
concludedLicense = concludedLicense,
declaredLicenses = declaredLicenses,
Expand Down

0 comments on commit cdd3993

Please sign in to comment.