8035106: Typo in java.time.format.Parsed error message

Reviewed-by: lancea
This commit is contained in:
Roger Riggs 2014-02-28 17:01:12 -05:00
parent e112d0032d
commit 81b6eb6a69

View File

@ -289,7 +289,7 @@ final class Parsed implements TemporalAccessor {
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++;