kopia lustrzana https://github.com/onthegomap/planetiler
Bump jackson.version from 2.14.2 to 2.15.0 (#563)
* Bump jackson.version from 2.14.2 to 2.15.0 Bumps `jackson.version` from 2.14.2 to 2.15.0. Updates `jackson-core` from 2.14.2 to 2.15.0 - [Release notes](https://github.com/FasterXML/jackson-core/releases) - [Changelog](https://github.com/FasterXML/jackson-core/blob/jackson-core-2.15.0/release.properties) - [Commits](https://github.com/FasterXML/jackson-core/compare/jackson-core-2.14.2...jackson-core-2.15.0) Updates `jackson-databind` from 2.14.2 to 2.15.0 - [Release notes](https://github.com/FasterXML/jackson/releases) - [Commits](https://github.com/FasterXML/jackson/commits) Updates `jackson-datatype-jdk8` from 2.14.2 to 2.15.0 Updates `jackson-dataformat-xml` from 2.14.2 to 2.15.0 - [Release notes](https://github.com/FasterXML/jackson-dataformat-xml/releases) - [Commits](https://github.com/FasterXML/jackson-dataformat-xml/compare/jackson-dataformat-xml-2.14.2...jackson-dataformat-xml-2.15.0) --- updated-dependencies: - dependency-name: com.fasterxml.jackson.core:jackson-core dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: com.fasterxml.jackson.core:jackson-databind dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: com.fasterxml.jackson.datatype:jackson-datatype-jdk8 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: com.fasterxml.jackson.dataformat:jackson-dataformat-xml dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix JsonAnySetter --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mike Barry <msb5014@gmail.com>pull/567/head
rodzic
fce555f1e3
commit
9b76c849e0
|
@ -363,14 +363,19 @@ public class Pmtiles {
|
||||||
*/
|
*/
|
||||||
public record JsonMetadata(
|
public record JsonMetadata(
|
||||||
@JsonProperty("vector_layers") List<LayerStats.VectorLayer> vectorLayers,
|
@JsonProperty("vector_layers") List<LayerStats.VectorLayer> vectorLayers,
|
||||||
@JsonAnyGetter @JsonAnySetter Map<String, String> otherMetadata
|
@JsonAnyGetter Map<String, String> otherMetadata
|
||||||
) {
|
) {
|
||||||
|
|
||||||
@JsonCreator
|
@JsonCreator
|
||||||
JsonMetadata(@JsonProperty("vector_layers") List<LayerStats.VectorLayer> vectorLayers) {
|
public JsonMetadata(@JsonProperty("vector_layers") List<LayerStats.VectorLayer> vectorLayers) {
|
||||||
this(vectorLayers, new HashMap<>());
|
this(vectorLayers, new HashMap<>());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@JsonAnySetter
|
||||||
|
private void setExtraMetadata(String key, String val) {
|
||||||
|
otherMetadata.put(key, val);
|
||||||
|
}
|
||||||
|
|
||||||
public byte[] toBytes() {
|
public byte[] toBytes() {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -20,7 +20,7 @@
|
||||||
<maven.compiler.source>17</maven.compiler.source>
|
<maven.compiler.source>17</maven.compiler.source>
|
||||||
<maven.compiler.target>17</maven.compiler.target>
|
<maven.compiler.target>17</maven.compiler.target>
|
||||||
<maven.source.excludeResources>true</maven.source.excludeResources>
|
<maven.source.excludeResources>true</maven.source.excludeResources>
|
||||||
<jackson.version>2.14.2</jackson.version>
|
<jackson.version>2.15.0</jackson.version>
|
||||||
<junit.version>5.9.2</junit.version>
|
<junit.version>5.9.2</junit.version>
|
||||||
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
|
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
|
||||||
<sonar.organization>onthegomap</sonar.organization>
|
<sonar.organization>onthegomap</sonar.organization>
|
||||||
|
|
Ładowanie…
Reference in New Issue