Skip to content

Commit

Permalink
refactor(PackageCurationData)!: Drop support for legacy property name
Browse files Browse the repository at this point in the history
The property has been renamed more than a year ago [1] and it's easy
to make the needed alignments, see [2]. So, drop this last remaining
`@JsonAlias` annotation to eliminate technical debt.

[1]: b9e8b63
[2]: oss-review-toolkit/ort-config#96

Signed-off-by: Frank Viernau <frank_viernau@epam.com>
  • Loading branch information
fviernau committed Nov 14, 2023
1 parent 7eb2ffe commit cc7d534
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions model/src/main/kotlin/PackageCurationData.kt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

package org.ossreviewtoolkit.model

import com.fasterxml.jackson.annotation.JsonAlias
import com.fasterxml.jackson.annotation.JsonInclude

import org.ossreviewtoolkit.utils.common.zip
Expand Down Expand Up @@ -88,7 +87,6 @@ data class PackageCurationData(
/**
* Whether the package is metadata only.
*/
@JsonAlias("is_meta_data_only")
val isMetadataOnly: Boolean? = null,

/**
Expand Down

0 comments on commit cc7d534

Please sign in to comment.