[JAVA-31658] Upgrade cactoos, jcabi-aspects, threetenbp, jodatime (#16293)
This commit is contained in:
@@ -100,9 +100,8 @@ ext {
|
||||
jackson_databind_version = "2.10.1"
|
||||
jackson_databind_nullable_version = "0.2.1"
|
||||
spring_web_version = "4.3.9.RELEASE"
|
||||
jodatime_version = "2.9.9"
|
||||
junit_version = "4.13"
|
||||
jackson_threeten_version = "2.9.10"
|
||||
jackson_threeten_version = "2.15.2"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
@@ -266,7 +266,7 @@
|
||||
<jackson.version>2.11.1</jackson.version>
|
||||
<!-- <jackson-databind-version>2.10.1</jackson-databind-version> -->
|
||||
<jackson-databind-nullable.version>0.2.1</jackson-databind-nullable.version>
|
||||
<jackson-threetenbp.version>2.9.10</jackson-threetenbp.version>
|
||||
<jackson-threetenbp.version>2.15.2</jackson-threetenbp.version>
|
||||
<maven-plugin.version>1.0.0</maven-plugin.version>
|
||||
<junit-jupiter.version>5.8.1</junit-jupiter.version>
|
||||
<javax.annotation-api.version>1.3.2</javax.annotation-api.version>
|
||||
|
||||
+13
-5
@@ -1,5 +1,6 @@
|
||||
package com.baeldung.petstore.client.invoker;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.core.JsonParser;
|
||||
import com.fasterxml.jackson.core.JsonTokenId;
|
||||
import com.fasterxml.jackson.databind.DeserializationContext;
|
||||
@@ -148,11 +149,18 @@ public class CustomInstantDeserializer<T extends Temporal>
|
||||
}
|
||||
|
||||
@Override
|
||||
protected JsonDeserializer<T> withDateFormat(DateTimeFormatter dtf) {
|
||||
if (dtf == _formatter) {
|
||||
return this;
|
||||
}
|
||||
return new CustomInstantDeserializer<T>(this, dtf);
|
||||
protected ThreeTenDateTimeDeserializerBase<T> withDateFormat(DateTimeFormatter dateTimeFormatter) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected ThreeTenDateTimeDeserializerBase<T> withLeniency(Boolean aBoolean) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected ThreeTenDateTimeDeserializerBase<T> withShape(JsonFormat.Shape shape) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user