mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8241014: Miscellaneous typos in documentation comments
Reviewed-by: igerasim, prappo, psandoz, rriggs, weijun
This commit is contained in:
parent
c5a7490809
commit
17ff85d4ad
39 changed files with 104 additions and 107 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -405,7 +405,7 @@ final class ChronoLocalDateTimeImpl<D extends ChronoLocalDate>
|
|||
* <pre>
|
||||
* out.writeByte(2); // identifies a ChronoLocalDateTime
|
||||
* out.writeObject(toLocalDate());
|
||||
* out.witeObject(toLocalTime());
|
||||
* out.writeObject(toLocalTime());
|
||||
* </pre>
|
||||
*
|
||||
* @return the instance of {@code Ser}, not null
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -97,10 +97,10 @@
|
|||
*
|
||||
* <h2>Example</h2>
|
||||
* <p>
|
||||
* This example lists todays date for all of the available calendars.
|
||||
* This example lists today's date for all of the available calendars.
|
||||
* </p>
|
||||
* <pre>
|
||||
* // Enumerate the list of available calendars and print todays date for each.
|
||||
* // Enumerate the list of available calendars and print today's date for each.
|
||||
* Set<Chronology> chronos = Chronology.getAvailableChronologies();
|
||||
* for (Chronology chrono : chronos) {
|
||||
* ChronoLocalDate date = chrono.dateNow();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue