RFR: JDK-8034906 Fix typos, errors and Javadoc differences in java.time

Ivan Gerasimov ivan.gerasimov at oracle.com
Wed Feb 19 11:58:58 UTC 2014


Hi Stephen!

May I ask you to add some more typo fixes to your patch?

Sincerely yours,
Ivan


diff a/src/share/classes/java/time/OffsetTime.java 
b/src/share/classes/java/time/OffsetTime.java
-     * This will result in the old and new objects representing the 
same instant an an implied day.
+     * This will result in the old and new objects representing the 
same instant on an implied day.
diff a/src/share/classes/java/time/ZonedDateTime.java 
b/src/share/classes/java/time/ZonedDateTime.java
-     * the the date-time and offset of the zoned date-time will differ 
from those specified.
+     * the date-time and offset of the zoned date-time will differ from 
those specified.
diff a/src/share/classes/java/time/chrono/Chronology.java 
b/src/share/classes/java/time/chrono/Chronology.java
-     * The default implementation behaves as the the formatter was used to
+     * The default implementation behaves as the formatter was used to
diff a/src/share/classes/java/time/format/DateTimeFormatterBuilder.java 
b/src/share/classes/java/time/format/DateTimeFormatterBuilder.java
-     * Note that this method is is identical to {@code appendZoneId()} 
except
+     * Note that this method is identical to {@code appendZoneId()} except
-     * Note that this method is is identical to {@code appendZoneId()} 
except
+     * Note that this method is identical to {@code appendZoneId()} except
diff a/src/share/classes/java/time/temporal/TemporalField.java 
b/src/share/classes/java/time/temporal/TemporalField.java
-     * If this returns false, the the temporal cannot be queried for 
this field.
+     * If this returns false, the temporal cannot be queried for this 
field.
diff a/src/share/classes/java/time/zone/ZoneOffsetTransition.java 
b/src/share/classes/java/time/zone/ZoneOffsetTransition.java
- * Gaps occur where there are local date-times that simply do not not 
exist.
+ * Gaps occur where there are local date-times that simply do not exist.
-     * Gaps occur where there are local date-times that simply do not 
not exist.
+     * Gaps occur where there are local date-times that simply do not 
exist.




More information about the core-libs-dev mailing list