Skip to content

Commit 472e03b

Browse files
committed
Fix #1678 (rewrite StdDateFormat deserialization)
1 parent a2a45b3 commit 472e03b

File tree

10 files changed

+635
-391
lines changed

10 files changed

+635
-391
lines changed

release-notes/VERSION

+1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ Project: jackson-databind
9292
#1653: Convenience overload(s) for ObjectMapper#registerSubtypes
9393
#1655: `@JsonAnyGetter` uses different `bean` parameter in `SimpleBeanPropertyFilter`
9494
(reported by georgeflugq@github)
95+
#1678: Rewrite `StdDateFormat` ISO-8601 deserialization functionality
9596

9697
2.8.9.1 (not yet released)
9798

src/main/java/com/fasterxml/jackson/databind/util/ISO8601DateFormat.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public class ISO8601DateFormat extends DateFormat
1919
{
2020
private static final long serialVersionUID = 1L;
2121

22-
// those classes are to try to allow a consistent behavior for hascode/equals and other methods
22+
// those classes are to try to allow a consistent behavior for hashcode/equals and other methods
2323
private static Calendar CALENDAR = new GregorianCalendar();
2424
private static NumberFormat NUMBER_FORMAT = new DecimalFormat();
2525

src/main/java/com/fasterxml/jackson/databind/util/ISO8601Utils.java

-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ public static String format(Date date, boolean millis, TimeZone tz) {
133133
} else {
134134
formatted.append('Z');
135135
}
136-
137136
return formatted.toString();
138137
}
139138

0 commit comments

Comments
 (0)