From cc7d53490a6cf2bf12bc8288e0143cb8cd415aa7 Mon Sep 17 00:00:00 2001 From: Frank Viernau Date: Mon, 13 Feb 2023 09:50:41 +0100 Subject: [PATCH] refactor(PackageCurationData)!: Drop support for legacy property name 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]: https://github.com/oss-review-toolkit/ort/commit/b9e8b63ace7215f042a80b41f5c8b5fcbedaebea [2]: https://github.com/oss-review-toolkit/ort-config/pull/96 Signed-off-by: Frank Viernau --- model/src/main/kotlin/PackageCurationData.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/model/src/main/kotlin/PackageCurationData.kt b/model/src/main/kotlin/PackageCurationData.kt index dff8e8a70a33..71392245ba9f 100644 --- a/model/src/main/kotlin/PackageCurationData.kt +++ b/model/src/main/kotlin/PackageCurationData.kt @@ -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 @@ -88,7 +87,6 @@ data class PackageCurationData( /** * Whether the package is metadata only. */ - @JsonAlias("is_meta_data_only") val isMetadataOnly: Boolean? = null, /**