Skip to content

Commit

Permalink
Fix syntax in CustomDateDeserializer.java
Browse files Browse the repository at this point in the history
Regression introduced by a incorrect merge conflict resolution after a rebase on master

Signed-off-by: Danilo Del Busso <[email protected]>
  • Loading branch information
danilo-delbusso authored and contificate committed Sep 13, 2024
1 parent 373672b commit ce3bf5b
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,6 @@ public CustomDateDeserializer(Class t) {
}
}

private static

/**
* Deserializes a {@link Date} object from the given JSON parser.
*
Expand All @@ -162,8 +160,8 @@ public CustomDateDeserializer(Class t) {
* @return The deserialized {@link Date} object
* @throws IOException if an I/O error occurs during deserialization
*/
@Override public Date deserialize(JsonParser jsonParser, DeserializationContext deserializationContext)
throws IOException {
@Override
public Date deserialize(JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException {
var text = jsonParser.getText();
for (SimpleDateFormat formatter : dateFormatsUtc) {
try {
Expand Down

0 comments on commit ce3bf5b

Please sign in to comment.