8035106: Typo in java.time.format.Parsed error message
authorrriggs
Fri, 28 Feb 2014 17:01:12 -0500
changeset 23037 5d2dbc7106e9
parent 23036 b711f9772be8
child 23038 bb8b3b23af3a
8035106: Typo in java.time.format.Parsed error message Reviewed-by: lancea
jdk/src/share/classes/java/time/format/Parsed.java
--- a/jdk/src/share/classes/java/time/format/Parsed.java	Fri Feb 28 13:36:46 2014 -0500
+++ b/jdk/src/share/classes/java/time/format/Parsed.java	Fri Feb 28 17:01:12 2014 -0500
@@ -289,7 +289,7 @@
                             changedCount++;
                             continue outer;  // have to restart to avoid concurrent modification
                         }
-                        throw new DateTimeException("Method resolveFields() can only return ChronoZonedDateTime," +
+                        throw new DateTimeException("Method resolve() can only return ChronoZonedDateTime, " +
                                 "ChronoLocalDateTime, ChronoLocalDate or LocalTime");
                     } else if (fieldValues.containsKey(targetField) == false) {
                         changedCount++;