From 40644c5ab9b60d86fe47ded852d04e29518ec5af Mon Sep 17 00:00:00 2001 From: Roger Riggs Date: Tue, 29 Nov 2016 13:58:00 -0500 Subject: [PATCH] 8169527: Typo in getCalendarType() method of Chronology class Reviewed-by: bpb --- .../share/classes/java/time/chrono/Chronology.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jdk/src/java.base/share/classes/java/time/chrono/Chronology.java b/jdk/src/java.base/share/classes/java/time/chrono/Chronology.java index c9d6baa3ac8..d1c3919cb63 100644 --- a/jdk/src/java.base/share/classes/java/time/chrono/Chronology.java +++ b/jdk/src/java.base/share/classes/java/time/chrono/Chronology.java @@ -151,7 +151,7 @@ import java.util.Set; * Each chronology must define a chronology ID that is unique within the system. * If the chronology represents a calendar system defined by the * CLDR specification then the calendar type is the concatenation of the - * CLDR type and, if applicable, the CLDR variant, + * CLDR type and, if applicable, the CLDR variant. * * @implSpec * This interface must be implemented with care to ensure other classes operate correctly. @@ -177,7 +177,7 @@ public interface Chronology extends Comparable { * * @param temporal the temporal to convert, not null * @return the chronology, not null - * @throws DateTimeException if unable to convert to an {@code Chronology} + * @throws DateTimeException if unable to convert to a {@code Chronology} */ static Chronology from(TemporalAccessor temporal) { Objects.requireNonNull(temporal, "temporal"); @@ -203,7 +203,7 @@ public interface Chronology extends Comparable { * For example, the locale "en-JP-u-ca-japanese" represents the English * language as used in Japan with the Japanese calendar system. *

- * This method finds the desired calendar system by in a manner equivalent + * This method finds the desired calendar system in a manner equivalent * to passing "ca" to {@link Locale#getUnicodeLocaleType(String)}. * If the "ca" key is not present, then {@code IsoChronology} is returned. *

@@ -286,7 +286,7 @@ public interface Chronology extends Comparable { *

* The calendar type is an identifier defined by the CLDR and * Unicode Locale Data Markup Language (LDML) specifications - * to uniquely identification a calendar. + * to uniquely identify a calendar. * The {@code getCalendarType} is the concatenation of the CLDR calendar type * and the variant, if applicable, is appended separated by "-". * The calendar type is used to lookup the {@code Chronology} using {@link #of(String)}.