diff --git a/planetiler-core/src/main/java/com/onthegomap/planetiler/stream/WriteableJsonStreamArchive.java b/planetiler-core/src/main/java/com/onthegomap/planetiler/stream/WriteableJsonStreamArchive.java index 40f389ce1e..6ec617a0db 100644 --- a/planetiler-core/src/main/java/com/onthegomap/planetiler/stream/WriteableJsonStreamArchive.java +++ b/planetiler-core/src/main/java/com/onthegomap/planetiler/stream/WriteableJsonStreamArchive.java @@ -209,17 +209,14 @@ record InitializationEntry(TileArchiveMetadata metadata) implements Entry {} record FinishEntry(TileArchiveMetadata metadata) implements Entry {} - private interface TileArchiveMetadataMixin { + private record TileArchiveMetadataMixin( - @JsonIgnore(false) - Envelope bounds(); + @JsonIgnore(false) Envelope bounds, - @JsonIgnore(false) - CoordinateXY center(); + @JsonIgnore(false) CoordinateXY center, - @JsonIgnore(false) - List vectorLayers(); - } + @JsonIgnore(false) List vectorLayers + ) {} @JsonIncludeProperties({"minX", "maxX", "minY", "maxY"}) private abstract static class EnvelopeMixin { diff --git a/pom.xml b/pom.xml index 77904e8729..c465c280c3 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,7 @@ 21 21 true - 2.15.3 + 2.16.0 5.10.1 https://sonarcloud.io onthegomap