# HG changeset patch # User jjg # Date 1493239101 25200 # Node ID b2b4d98404ba018d3792c8908b538297a34fa3e1 # Parent c1b0ca015127d158786029be939465cd140b0b4c 8179364: update "Modified UTF-8 + *
* Implementations of the DataInput and DataOutput interfaces represent * Unicode strings in a format that is a slight modification of UTF-8. diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/io/File.java --- a/jdk/src/java.base/share/classes/java/io/File.java Wed Apr 26 09:37:23 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/io/File.java Wed Apr 26 13:38:21 2017 -0700 @@ -113,7 +113,7 @@ * operating system-specific portion of storage for a file system. A single * storage device (e.g. a physical disk-drive, flash memory, CD-ROM) may * contain multiple partitions. The object, if any, will reside on the - * partition named by some ancestor of the absolute + * partition named by some ancestor of the absolute * form of this pathname. * *
A file system may implement restrictions to certain operations on the diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/io/LineNumberReader.java --- a/jdk/src/java.base/share/classes/java/io/LineNumberReader.java Wed Apr 26 09:37:23 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/io/LineNumberReader.java Wed Apr 26 13:38:21 2017 -0700 @@ -39,7 +39,7 @@ * the stream; it only changes the value that will be returned by * {@code getLineNumber()}. * - *
A line is considered to be terminated by any one of a + *
A line is considered to be terminated by any one of a
* line feed ('\n'), a carriage return ('\r'), or a carriage return followed
* immediately by a linefeed.
*
diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/io/PipedInputStream.java
--- a/jdk/src/java.base/share/classes/java/io/PipedInputStream.java Wed Apr 26 09:37:23 2017 -0700
+++ b/jdk/src/java.base/share/classes/java/io/PipedInputStream.java Wed Apr 26 13:38:21 2017 -0700
@@ -39,7 +39,7 @@
* The piped input stream contains a buffer,
* decoupling read operations from write operations,
* within limits.
- * A pipe is said to be broken if a
+ * A pipe is said to be broken if a
* thread that was providing data bytes to the connected
* piped output stream is no longer alive.
*
diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/io/PipedOutputStream.java
--- a/jdk/src/java.base/share/classes/java/io/PipedOutputStream.java Wed Apr 26 09:37:23 2017 -0700
+++ b/jdk/src/java.base/share/classes/java/io/PipedOutputStream.java Wed Apr 26 13:38:21 2017 -0700
@@ -35,7 +35,7 @@
* read from the connected PipedInputStream
by some
* other thread. Attempting to use both objects from a single thread
* is not recommended as it may deadlock the thread.
- * The pipe is said to be broken if a
+ * The pipe is said to be broken if a
* thread that was reading data bytes from the connected piped input
* stream is no longer alive.
*
diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/io/RandomAccessFile.java
--- a/jdk/src/java.base/share/classes/java/io/RandomAccessFile.java Wed Apr 26 09:37:23 2017 -0700
+++ b/jdk/src/java.base/share/classes/java/io/RandomAccessFile.java Wed Apr 26 13:38:21 2017 -0700
@@ -132,7 +132,7 @@
* write to, the file specified by the {@link File} argument. A new {@link
* FileDescriptor} object is created to represent this file connection.
*
- *
The {@code mode} argument specifies the access mode + *
The {@code mode} argument specifies the access mode * in which the file is to be opened. The permitted values and their * meanings are: * diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/lang/Character.java --- a/jdk/src/java.base/share/classes/java/lang/Character.java Wed Apr 26 09:37:23 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/lang/Character.java Wed Apr 26 13:38:21 2017 -0700 @@ -56,7 +56,7 @@ *
The {@code char} data type (and therefore the value that a * {@code Character} object encapsulates) are based on the @@ -70,9 +70,9 @@ * definition of the U+n notation in the Unicode * Standard.) * - *
The set of characters from U+0000 to U+FFFF is + *
The set of characters from U+0000 to U+FFFF is * sometimes referred to as the Basic Multilingual Plane (BMP). - * Characters whose code points are greater + * Characters whose code points are greater * than U+FFFF are called supplementary characters. The Java * platform uses the UTF-16 representation in {@code char} arrays and * in the {@code String} and {@code StringBuffer} classes. In diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/lang/ClassLoader.java --- a/jdk/src/java.base/share/classes/java/lang/ClassLoader.java Wed Apr 26 09:37:23 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/lang/ClassLoader.java Wed Apr 26 13:38:21 2017 -0700 @@ -114,7 +114,7 @@ * duration of the class loading process (see {@link #loadClass * loadClass} methods). * - *
Any class name provided as a {@code String} parameter to methods in * {@code ClassLoader} must be a binary name as defined by diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/lang/ProcessBuilder.java --- a/jdk/src/java.base/share/classes/java/lang/ProcessBuilder.java Wed Apr 26 09:37:23 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/lang/ProcessBuilder.java Wed Apr 26 13:38:21 2017 -0700 @@ -71,7 +71,7 @@ * working directory of the current process, usually the directory * named by the system property {@code user.dir}. * - *
A version number, {@code $VNUM}, is a non-empty sequence * of elements separated by period characters (U+002E). An element is @@ -971,7 +971,7 @@ * *
{@code $MAJOR} --- The major version + *
{@code $MAJOR} --- The major version * number, incremented for a major release that contains significant new * features as specified in a new edition of the Java SE Platform * Specification, e.g.,
{@code $MINOR} --- The minor version + *
{@code $MINOR} --- The minor version * number, incremented for a minor update release that may contain * compatible bug fixes, revisions to standard APIs mandated by a * Maintenance Release @@ -992,7 +992,7 @@ * additional service providers, new garbage collectors, and ports to new * hardware architectures.
{@code $SECURITY} --- The security + *
{@code $SECURITY} --- The security * level, incremented for a security update release that contains critical * fixes including those necessary to improve security. {@code $SECURITY} * is not reset when {@code $MINOR} is incremented. A @@ -1021,7 +1021,7 @@ * sequence; e.g., {@code 9.1.2} is less than {@code 9.1.2.1}. *
* - *A version string, {@code $VSTR}, consists of a version * number {@code $VNUM}, as described above, optionally followed by @@ -1038,17 +1038,17 @@ * *
{@code $PRE}, matching {@code ([a-zA-Z0-9]+)} + *
{@code $PRE}, matching {@code ([a-zA-Z0-9]+)} * --- A pre-release identifier. Typically {@code ea}, for a * potentially unstable early-access release under active development, * or {@code internal}, for an internal developer build.
{@code $BUILD}, matching {@code + *
{@code $BUILD}, matching {@code * (0|[1-9][0-9]*)} --- The build number, incremented for each promoted * build. {@code $BUILD} is reset to {@code 1} when any portion of {@code * $VNUM} is incremented.
{@code $OPT}, matching {@code + *
{@code $OPT}, matching {@code * ([-a-zA-Z0-9.]+)} --- Additional build information, if desired. In * the case of an {@code internal} build this will often contain the date * and time of the build.
name
is returned.
*
- * System
+ * System
* properties and environment variables are both
* conceptually mappings between names and values. Both
* mechanisms can be used to pass user-defined information to a
diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/lang/invoke/MethodHandle.java
--- a/jdk/src/java.base/share/classes/java/lang/invoke/MethodHandle.java Wed Apr 26 09:37:23 2017 -0700
+++ b/jdk/src/java.base/share/classes/java/lang/invoke/MethodHandle.java Wed Apr 26 13:38:21 2017 -0700
@@ -310,7 +310,7 @@
* throwables locally, rethrowing only those which are legal in the context,
* and wrapping ones which are illegal.
*
- * Signature polymorphism
+ * Signature polymorphism
* The unusual compilation and linkage behavior of
* {@code invokeExact} and plain {@code invoke}
* is referenced by the term signature polymorphism.
@@ -404,7 +404,7 @@
* genericity with a Java type parameter.
lookup expression | + *lookup expression | *member | *bytecode behavior | *
---|
The textual representation of IPv6 addresses as described above can be * extended to specify IPv6 scoped addresses. This extension to the basic diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/net/URI.java --- a/jdk/src/java.base/share/classes/java/net/URI.java Wed Apr 26 09:37:23 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/net/URI.java Wed Apr 26 13:38:21 2017 -0700 @@ -281,7 +281,7 @@ * limited to US-ASCII) * * - *
The set of all legal URI characters consists of + *
The set of all legal URI characters consists of * the unreserved, reserved, escaped, and other * characters. * @@ -308,20 +308,20 @@ * *
A character is encoded by replacing it * with the sequence of escaped octets that represent that character in the * UTF-8 character set. The Euro currency symbol ({@code '\u005Cu20AC'}), * for example, is encoded as {@code "%E2%82%AC"}. (Deviation from * RFC 2396, which does not specify any particular character * set.)
An illegal character is quoted simply by * encoding it. The space character, for example, is quoted by replacing it * with {@code "%20"}. UTF-8 contains US-ASCII, hence for US-ASCII * characters this transformation has exactly the effect required by * RFC 2396.
* A sequence of escaped octets is decoded by * replacing it with the sequence of characters that it represents in the * UTF-8 character set. UTF-8 contains US-ASCII, hence decoding has the @@ -983,7 +983,7 @@ *
If the given URI is already absolute, or if this URI is opaque, then * the given URI is returned. * - *
If the given URI's fragment component is + *
If the given URI's fragment component is * defined, its path component is empty, and its scheme, authority, and * query components are undefined, then a URI with the given fragment but * with all other components equal to those of this URI is returned. This diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/nio/MappedByteBuffer.java --- a/jdk/src/java.base/share/classes/java/nio/MappedByteBuffer.java Wed Apr 26 09:37:23 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/nio/MappedByteBuffer.java Wed Apr 26 13:38:21 2017 -0700 @@ -45,7 +45,7 @@ * this program or another. Whether or not such changes occur, and when they * occur, is operating-system dependent and therefore unspecified. * - *
All or part of a mapped byte buffer may become + *
All or part of a mapped byte buffer may become * inaccessible at any time, for example if the mapped file is truncated. An * attempt to access an inaccessible region of a mapped byte buffer will not * change the buffer's content and will cause an unspecified exception to be diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/nio/channels/AsynchronousChannelGroup.java --- a/jdk/src/java.base/share/classes/java/nio/channels/AsynchronousChannelGroup.java Wed Apr 26 09:37:23 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/nio/channels/AsynchronousChannelGroup.java Wed Apr 26 13:38:21 2017 -0700 @@ -88,7 +88,7 @@ * * * - *
The completion handler for an I/O operation initiated on a channel bound * to a group is guaranteed to be invoked by one of the pooled threads in the @@ -103,7 +103,7 @@ * handler directly by the initiating thread (see {@link * AsynchronousServerSocketChannel#accept(Object,CompletionHandler) accept}). * - *
The {@link #shutdown() shutdown} method is used to initiate an orderly * shutdown of a group. An orderly shutdown marks the group as shutdown; diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/nio/channels/FileChannel.java --- a/jdk/src/java.base/share/classes/java/nio/channels/FileChannel.java Wed Apr 26 09:37:23 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/nio/channels/FileChannel.java Wed Apr 26 13:38:21 2017 -0700 @@ -118,7 +118,7 @@ * versa. Changing the file's content by writing bytes will change the content * seen by the originating object, and vice versa. * - *
At various points this class specifies that an + *
At various points this class specifies that an * instance that is "open for reading," "open for writing," or "open for * reading and writing" is required. A channel obtained via the {@link * java.io.FileInputStream#getChannel getChannel} method of a {@link @@ -131,7 +131,7 @@ * was created with mode {@code "r"} and will be open for reading and writing * if the instance was created with mode {@code "rw"}. * - *
A file channel that is open for writing may be in + *
A file channel that is open for writing may be in * append mode, for example if it was obtained from a file-output stream * that was created by invoking the {@link * java.io.FileOutputStream#FileOutputStream(java.io.File,boolean) diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/nio/channels/FileLock.java --- a/jdk/src/java.base/share/classes/java/nio/channels/FileLock.java Wed Apr 26 09:37:23 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/nio/channels/FileLock.java Wed Apr 26 13:38:21 2017 -0700 @@ -73,7 +73,7 @@ *
File-lock objects are safe for use by multiple concurrent threads. * * - *
This file-locking API is intended to map directly to the native locking * facility of the underlying operating system. Thus the locks held on a file diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/nio/channels/SelectableChannel.java --- a/jdk/src/java.base/share/classes/java/nio/channels/SelectableChannel.java Wed Apr 26 09:37:23 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/nio/channels/SelectableChannel.java Wed Apr 26 13:38:21 2017 -0700 @@ -64,7 +64,7 @@ * threads.
* * - * + * *A selection key contains two operation sets represented as * integer values. Each bit of an operation set denotes a category of diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/nio/channels/Selector.java --- a/jdk/src/java.base/share/classes/java/nio/channels/Selector.java Wed Apr 26 09:37:23 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/nio/channels/Selector.java Wed Apr 26 13:38:21 2017 -0700 @@ -42,7 +42,7 @@ * method of a custom selector provider. A selector remains open until it is * closed via its {@link #close close} method. * - * + * * *
A selectable channel's registration with a selector is represented by a * {@link SelectionKey} object. A selector maintains three sets of selection @@ -80,7 +80,7 @@ * during the next selection operation, at which time the key will removed from * all of the selector's key sets. * - *
Keys are added to the selected-key set by selection + *
Keys are added to the selected-key set by selection * operations. A key may be removed directly from the selected-key set by * invoking the set's {@link java.util.Set#remove(java.lang.Object) remove} * method or by invoking the {@link java.util.Iterator#remove() remove} method @@ -90,7 +90,7 @@ * operations. Keys may not be added directly to the selected-key set.
* * - * + * *During each selection operation, keys may be added to and removed from a @@ -183,7 +183,7 @@ *
The {@link #close close} method synchronizes on the selector and all * three key sets in the same order as in a selection operation. * - * + * * *
A selector's key and selected-key sets are not, in general, safe for use * by multiple concurrent threads. If such a thread might modify one of these diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/nio/charset/Charset.java --- a/jdk/src/java.base/share/classes/java/nio/charset/Charset.java Wed Apr 26 09:37:23 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/nio/charset/Charset.java Wed Apr 26 13:38:21 2017 -0700 @@ -67,7 +67,7 @@ * concurrent threads. * * - * + * *
Charsets are named by strings composed of the following characters: @@ -113,14 +113,14 @@ * The aliases of a charset are returned by the {@link #aliases() aliases} * method. * - *
Some charsets have an historical name that is defined for
+ * Some charsets have an historical name that is defined for
* compatibility with previous versions of the Java platform. A charset's
* historical name is either its canonical name or one of its aliases. The
* historical name is returned by the {@code getEncoding()} methods of the
* {@link java.io.InputStreamReader#getEncoding InputStreamReader} and {@link
* java.io.OutputStreamWriter#getEncoding OutputStreamWriter} classes.
*
- * If a charset listed in the If a charset listed in the IANA Charset
* Registry is supported by an implementation of the Java platform then
* its canonical name must be the name listed in the registry. Many charsets
@@ -142,7 +142,7 @@
*
*
*
- * Every implementation of the Java platform is required to support the
+ * Every implementation of the Java platform is required to support the
* following standard charsets. Consult the release documentation for your
* implementation to see if any other charsets are supported. The behavior
* of such optional charsets may differ between implementations.
diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/nio/file/Path.java
--- a/jdk/src/java.base/share/classes/java/nio/file/Path.java Wed Apr 26 09:37:23 2017 -0700
+++ b/jdk/src/java.base/share/classes/java/nio/file/Path.java Wed Apr 26 13:38:21 2017 -0700
@@ -76,7 +76,7 @@
* BufferedReader reader = Files.newBufferedReader(path, StandardCharsets.UTF_8);
*
*
- * Paths associated with the default {@link
* java.nio.file.spi.FileSystemProvider provider} are generally interoperable
* with the {@link java.io.File java.io.File} class. Paths created by other
diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/text/BreakIterator.java
--- a/jdk/src/java.base/share/classes/java/text/BreakIterator.java Wed Apr 26 09:37:23 2017 -0700
+++ b/jdk/src/java.base/share/classes/java/text/BreakIterator.java Wed Apr 26 13:38:21 2017 -0700
@@ -68,19 +68,19 @@
* (word, line, sentence, and so on). You must use a different iterator
* for each unit boundary analysis you wish to perform.
*
- *
* Line boundary analysis determines where a text string can be
* broken when line-wrapping. The mechanism correctly handles
* punctuation and hyphenated words. Actual line breaking needs
* to also consider the available line width and is handled by
* higher-level software.
*
- *
* Sentence boundary analysis allows selection with correct interpretation
* of periods within numbers and abbreviations, and trailing punctuation
* marks such as quotation marks and parentheses.
*
- *
* Word boundary analysis is used by search and replace functions, as
* well as within text editing applications that allow the user to
* select words with a double click. Word selection provides correct
@@ -88,7 +88,7 @@
* words. Characters that are not part of a word, such as symbols
* or punctuation marks, have word-breaks on both sides.
*
- *
* Character boundary analysis allows users to interact with characters
* as they expect to, for example, when moving the cursor through a text
* string. Character boundary analysis provides correct navigation
diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/text/ChoiceFormat.java
--- a/jdk/src/java.base/share/classes/java/text/ChoiceFormat.java Wed Apr 26 09:37:23 2017 -0700
+++ b/jdk/src/java.base/share/classes/java/text/ChoiceFormat.java Wed Apr 26 13:38:21 2017 -0700
@@ -151,7 +151,7 @@
* }
*
*
- *
* Choice formats are not synchronized.
diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/text/DateFormat.java
--- a/jdk/src/java.base/share/classes/java/text/DateFormat.java Wed Apr 26 09:37:23 2017 -0700
+++ b/jdk/src/java.base/share/classes/java/text/DateFormat.java Wed Apr 26 13:38:21 2017 -0700
@@ -133,7 +133,7 @@
* on the screen.
* Interoperability
+ * Interoperability
* Synchronization
+ * Synchronization
*
*
* Date formats are not synchronized.
diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/text/DecimalFormat.java
--- a/jdk/src/java.base/share/classes/java/text/DecimalFormat.java Wed Apr 26 09:37:23 2017 -0700
+++ b/jdk/src/java.base/share/classes/java/text/DecimalFormat.java Wed Apr 26 13:38:21 2017 -0700
@@ -327,7 +327,7 @@
* and isParseIntegerOnly()
are false.
*
*
- *
* Decimal formats are generally not synchronized.
diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/text/Format.java
--- a/jdk/src/java.base/share/classes/java/text/Format.java Wed Apr 26 09:37:23 2017 -0700
+++ b/jdk/src/java.base/share/classes/java/text/Format.java Wed Apr 26 13:38:21 2017 -0700
@@ -115,7 +115,7 @@
* the field. For examples of these constants, see ERA_FIELD
and its
* friends in {@link DateFormat}.
*
- *
* Formats are generally not synchronized. diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/text/MessageFormat.java --- a/jdk/src/java.base/share/classes/java/text/MessageFormat.java Wed Apr 26 09:37:23 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/text/MessageFormat.java Wed Apr 26 13:38:21 2017 -0700 @@ -68,7 +68,7 @@ * behavior is defined by the pattern that you provide as well as the * subformats used for inserted arguments. * - *
MessageFormat
uses patterns of the following form:
* * - *@@ -321,7 +321,7 @@ * // result now equals {new String("z")} *
* Message formats are not synchronized. diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/text/NumberFormat.java --- a/jdk/src/java.base/share/classes/java/text/NumberFormat.java Wed Apr 26 09:37:23 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/text/NumberFormat.java Wed Apr 26 13:38:21 2017 -0700 @@ -166,7 +166,7 @@ * numbers: "(12)" for -12. * * - *
* Number formats are generally not synchronized. diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/text/SimpleDateFormat.java --- a/jdk/src/java.base/share/classes/java/text/SimpleDateFormat.java Wed Apr 26 09:37:23 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/text/SimpleDateFormat.java Wed Apr 26 13:38:21 2017 -0700 @@ -218,18 +218,18 @@ * Pattern letters are usually repeated, as their number determines the * exact presentation: *
- * GMTOffsetTimeZone: + * GMTOffsetTimeZone: *GMT
Sign Hours:
Minutes * Sign: one of *+ -
@@ -312,7 +312,7 @@ * from the Basic Latin block of the Unicode standard. *For parsing, RFC 822 time zones are also * accepted.
@@ -325,7 +325,7 @@ * *For parsing, general time zones are also * accepted. - *
@@ -410,7 +410,7 @@ * * * - *Synchronization
+ *Synchronization
* ** Date formats are not synchronized. diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/util/Base64.java --- a/jdk/src/java.base/share/classes/java/util/Base64.java Wed Apr 26 09:37:23 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/util/Base64.java Wed Apr 26 13:38:21 2017 -0700 @@ -41,21 +41,21 @@ * RFC 2045. * *
Uses "The Base64 Alphabet" as specified in Table 1 of * RFC 4648 and RFC 2045 for encoding and decoding operation. * The encoder does not add any line feed (line separator) * character. The decoder rejects data that contains characters * outside the base64 alphabet.
Uses the "URL and Filename safe Base64 Alphabet" as specified * in Table 2 of RFC 4648 for encoding and decoding. The * encoder does not add any line feed (line separator) character. * The decoder rejects data that contains characters outside the * base64 alphabet.
Uses the "The Base64 Alphabet" as specified in Table 1 of
* RFC 2045 for encoding and decoding operation. The encoded output
* must be represented in lines of no more than 76 characters each
diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/util/Calendar.java
--- a/jdk/src/java.base/share/classes/java/util/Calendar.java Wed Apr 26 09:37:23 2017 -0700
+++ b/jdk/src/java.base/share/classes/java/util/Calendar.java Wed Apr 26 13:38:21 2017 -0700
@@ -67,7 +67,7 @@
* DAY_OF_MONTH
, HOUR
, and so on, and for
* manipulating the calendar fields, such as getting the date of the next
* week. An instant in time can be represented by a millisecond value that is
- * an offset from the Epoch, January 1, 1970
+ * an offset from the Epoch, January 1, 1970
* 00:00:00.000 GMT (Gregorian).
*
*
The class also provides additional fields and methods for @@ -124,7 +124,7 @@ * calculating its time or calendar field values if any out-of-range field * value has been set. * - *
Calendar
defines a locale-specific seven day week using two
* parameters: the first day of the week and the minimal days in first week
@@ -154,13 +154,13 @@
* calendar field values to determine the date and time in the
* following way.
*
- * If there is any conflict in calendar field values,
+ * If there is any conflict in calendar field values,
* For the date fields:
+ * Calendar
gives priorities to calendar fields that have been set
* more recently. The following are the default combinations of the
* calendar fields. The most recent combination, as determined by the
* most recently set single field, will be used.
*
- *
*
*
- * For the time of day fields:
+ * For the time of day fields:
*
* YEAR + MONTH + DAY_OF_MONTH
@@ -170,7 +170,7 @@
* YEAR + DAY_OF_WEEK + WEEK_OF_YEAR
*
** - ** HOUR_OF_DAY diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/util/Collection.java --- a/jdk/src/java.base/share/classes/java/util/Collection.java Wed Apr 26 09:37:23 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/util/Collection.java Wed Apr 26 13:38:21 2017 -0700 @@ -64,7 +64,7 @@ * but is not required to, throw the exception if the collection to be added * is empty. * - *+ *
* Some collection implementations have restrictions on the elements that * they may contain. For example, some implementations prohibit null elements, * and some have restrictions on the types of their elements. Attempting to diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/util/Formatter.java --- a/jdk/src/java.base/share/classes/java/util/Formatter.java Wed Apr 26 09:37:23 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/util/Formatter.java Wed Apr 26 13:38:21 2017 -0700 @@ -137,7 +137,7 @@ * // -> s == "Duke's Birthday: May 23, 1995" *
This specification is divided into two sections. The first section, Summary, covers the basic formatting concepts. This @@ -147,13 +147,13 @@ * details. It is intended for users who want more precise specification of * formatting behavior. * - *
This section is intended to provide a brief overview of formatting * concepts. For precise behavioral details, refer to the Details section. * - *
Every method which produces formatted output requires a format * string and an argument list. The format string is a {@link @@ -370,7 +370,7 @@ *
Any characters not explicitly defined as conversions are illegal and are * reserved for future extensions. * - *
The following date and time conversion suffix characters are defined for * the {@code 't'} and {@code 'T'} conversions. The types are similar to but @@ -659,7 +659,7 @@ * * *
This section is intended to provide behavioral details for formatting, * including conditions and exceptions, supported data types, localization, and @@ -701,7 +701,7 @@ *
* out.toUpperCase(Locale.getDefault(Locale.Category.FORMAT))* - *
The following general conversions may be applied to any argument type: * @@ -758,7 +758,7 @@ * * * - *
The following flags apply to general conversions: + *
The following flags apply to general conversions: * *
The width is the minimum number of characters to + *
The width is the minimum number of characters to
* be written to the
* output. If the length of the converted value is less than the width then
* the output will be padded by ' '
('\u0020'
)
@@ -792,7 +792,7 @@
* the precision. If the precision is not specified then there is no explicit
* limit on the number of characters.
*
- *
The precision is not applicable. If the precision is specified then an * {@link IllegalFormatPrecisionException} will be thrown. * - *
Numeric conversions are divided into the following categories: * @@ -846,7 +846,7 @@ * *
Numeric types will be formatted according to the following algorithm: * - *
Number Localization Algorithm + *
Number Localization Algorithm * *
After digits are obtained for the integer part, fractional part, and * exponent (as appropriate for the data type), the following transformation @@ -865,7 +865,7 @@ * substituted. * *
'\u002c'
)
- * flag is given, then the locale-specific {@linkplain
+ * flag is given, then the locale-specific {@linkplain
* java.text.DecimalFormatSymbols#getGroupingSeparator grouping separator} is
* inserted by scanning the integer part of the string from least significant
* to most significant digits and inserting a separator at intervals defined by
@@ -896,7 +896,7 @@
* then the output will be "(Infinity)" if the {@code '('} flag is given
* otherwise the output will be "-Infinity". These values are not localized.
*
- * Byte, Short, Integer, and Long + *
Byte, Short, Integer, and Long * *
The following conversions may be applied to {@code byte}, {@link Byte}, * {@code short}, {@link Short}, {@code int} and {@link Integer}, @@ -979,7 +979,7 @@ *
If the {@code '-'} flag is not given, then the space padding will occur * before the sign. * - *
The following flags apply to numeric integral + *
The following flags apply to numeric integral * conversions: * *
If no flags are given the default formatting is + *
If no flags are given the default formatting is * as follows: * *
The width is the minimum number of characters to + *
The width is the minimum number of characters to * be written to the output. This includes any signs, digits, grouping * separators, radix indicator, and parentheses. If the length of the * converted value is less than the width then the output will be padded by @@ -1055,7 +1055,7 @@ *
The precision is not applicable. If precision is specified then an * {@link IllegalFormatPrecisionException} will be thrown. * - *
BigInteger + *
BigInteger * *
The following conversions may be applied to {@link * java.math.BigInteger}. @@ -1149,7 +1149,7 @@ *
The precision is not applicable. If precision is specified then an * {@link IllegalFormatPrecisionException} will be thrown. * - *
Float and Double + *
Float and Double * *
The following conversions may be applied to {@code float}, {@link * Float}, {@code double} and {@link Double}. @@ -1240,7 +1240,7 @@ * *
'\u0066'
- * If the {@code '#'} flag is given, then the decimal separator will * always be present. * - *
If no flags are given the default formatting + *
If no flags are given the default formatting * is as follows: * *
The width is the minimum number of characters + *
The width is the minimum number of characters * to be written to the output. This includes any signs, digits, grouping * separators, decimal separators, exponential symbol, radix indicator, * parentheses, and strings representing infinity and NaN as applicable. If @@ -1367,7 +1367,7 @@ * {@code '-'} flag is given then the padding will be on the right. If width * is not specified then there is no minimum. * - *
If the conversion is {@code 'e'}, + *
If the conversion is {@code 'e'}, * {@code 'E'} or {@code 'f'}, then the precision is the number of digits * after the decimal separator. If the precision is not specified, then it is * assumed to be {@code 6}. @@ -1383,7 +1383,7 @@ * precision is not provided, then all of the digits as returned by {@link * Double#toHexString(double)} will be output. * - *
BigDecimal + *
BigDecimal * *
The following conversions may be applied {@link java.math.BigDecimal * BigDecimal}. @@ -1468,7 +1468,7 @@ * *
'\u0066'
- * This conversion may be applied to {@code long}, {@link Long}, {@link * Calendar}, {@link Date} and {@link TemporalAccessor TemporalAccessor} @@ -1744,7 +1744,7 @@ *
The precision is not applicable. If the precision is specified then an * {@link IllegalFormatPrecisionException} will be thrown. * - *
The conversion does not correspond to any argument. * @@ -1769,7 +1769,7 @@ * * * - *
The conversion does not correspond to any argument. * @@ -1785,7 +1785,7 @@ * {@link IllegalFormatFlagsException}, {@link IllegalFormatWidthException}, * and {@link IllegalFormatPrecisionException}, respectively will be thrown. * - *
Format specifiers can reference arguments in three ways: * diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/util/GregorianCalendar.java --- a/jdk/src/java.base/share/classes/java/util/GregorianCalendar.java Wed Apr 26 09:37:23 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/util/GregorianCalendar.java Wed Apr 26 13:38:21 2017 -0700 @@ -91,7 +91,7 @@ * adjustment may be made if desired for dates that are prior to the Gregorian * changeover and which fall between January 1 and March 24. * - *
Values calculated for the {@link Calendar#WEEK_OF_YEAR * WEEK_OF_YEAR} field range from 1 to 53. The first week of a @@ -108,7 +108,7 @@ *
The {@code getFirstDayOfWeek()} and {@code * getMinimalDaysInFirstWeek()} values are initialized using * locale-dependent resources when constructing a {@code - * GregorianCalendar}. The week + * GregorianCalendar}. The week * determination is compatible with the ISO 8601 standard when {@code * getFirstDayOfWeek()} is {@code MONDAY} and {@code * getMinimalDaysInFirstWeek()} is 4, which values are used in locales @@ -117,7 +117,7 @@ * {@link Calendar#setMinimalDaysInFirstWeek(int) * setMinimalDaysInFirstWeek()}. * - *
A week year is in sync with a + *
A week year is in sync with a * {@code WEEK_OF_YEAR} cycle. All weeks between the first and last * weeks (inclusive) have the same week year value. * Therefore, the first and last days of a week year may have diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/util/List.java --- a/jdk/src/java.base/share/classes/java/util/List.java Wed Apr 26 09:37:23 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/util/List.java Wed Apr 26 13:38:21 2017 -0700 @@ -87,7 +87,7 @@ * Such exceptions are marked as "optional" in the specification for this * interface. * - *
The {@link List#of(Object...) List.of()} static factory methods * provide a convenient way to create immutable lists. The {@code List} * instances created by these methods have the following characteristics: diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/util/ListResourceBundle.java --- a/jdk/src/java.base/share/classes/java/util/ListResourceBundle.java Wed Apr 26 09:37:23 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/util/ListResourceBundle.java Wed Apr 26 13:38:21 2017 -0700 @@ -56,7 +56,7 @@ * that key. * *
- * The following example shows two members of a resource + * The following example shows two members of a resource * bundle family with the base name "MyResources". * "MyResources" is the default member of the bundle family, and * "MyResources_fr" is the French member. diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/util/Locale.java --- a/jdk/src/java.base/share/classes/java/util/Locale.java Wed Apr 26 09:37:23 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/util/Locale.java Wed Apr 26 13:38:21 2017 -0700 @@ -83,7 +83,7 @@ * described below. * *
Locale
. Where there are two or more variant values
@@ -160,7 +160,7 @@
*
* UTS#35, "Unicode Locale Data Markup Language" defines optional * attributes and keywords to override or refine the default behavior @@ -269,7 +269,7 @@ * * * - *
If an application or a system is internationalized and provides localized
* resources for multiple locales, it sometimes needs to find one or more
@@ -408,7 +408,7 @@
* Clients desiring a string representation of the complete locale can
* then always rely on toLanguageTag
for this purpose.
*
- *
For compatibility reasons, two * non-conforming locales are treated as special cases. These are diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/util/Map.java --- a/jdk/src/java.base/share/classes/java/util/Map.java Wed Apr 26 09:37:23 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/util/Map.java Wed Apr 26 13:38:21 2017 -0700 @@ -110,7 +110,7 @@ * Implementations may optionally handle the self-referential scenario, however * most current implementations do not do so. * - *
The {@link Map#of() Map.of()} and * {@link Map#ofEntries(Map.Entry...) Map.ofEntries()} * static factory methods provide a convenient way to create immutable maps. diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/util/Properties.java --- a/jdk/src/java.base/share/classes/java/util/Properties.java Wed Apr 26 09:37:23 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/util/Properties.java Wed Apr 26 13:38:21 2017 -0700 @@ -290,7 +290,7 @@ * specifies that the key is {@code "cheeses"} and the associated * element is the empty string {@code ""}. *
- * + * * Characters in keys and elements can be represented in escape * sequences similar to those used for character and string literals * (see sections 3.3 and 3.10.6 of diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/util/PropertyResourceBundle.java --- a/jdk/src/java.base/share/classes/java/util/PropertyResourceBundle.java Wed Apr 26 09:37:23 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/util/PropertyResourceBundle.java Wed Apr 26 13:38:21 2017 -0700 @@ -67,7 +67,7 @@ * for a complete description of the search and instantiation strategy. * *
- * The following example shows a member of a resource + * The following example shows a member of a resource * bundle family with the base name "MyResources". * The text defines the bundle "MyResources_de", * the German member of the bundle family. diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/util/ResourceBundle.java --- a/jdk/src/java.base/share/classes/java/util/ResourceBundle.java Wed Apr 26 09:37:23 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/util/ResourceBundle.java Wed Apr 26 13:38:21 2017 -0700 @@ -204,7 +204,7 @@ * known concrete subclasses {@code ListResourceBundle} and * {@code PropertyResourceBundle} are thread-safe. * - *
For the {@code getBundle} factory + *
For the {@code getBundle} factory * methods that take no {@link Control} instance, their default behavior of resource bundle loading * can be modified with custom {@link @@ -1063,7 +1063,7 @@ * description of modifying the default * behavior. * - *
The following describes the default
+ * The following describes the default
* behavior.
*
*
@@ -1170,7 +1170,7 @@
* If still no result bundle is found, the base name alone is looked up. If
* this still fails, a Once a result resource bundle has been found,
+ * Once a result resource bundle has been found,
* its parent chain is instantiated. If the result bundle already
* has a parent (perhaps because it was returned from a cache) the chain is
* complete.
@@ -1200,7 +1200,7 @@
* path name (using "/") instead of a fully qualified class name (using
* ".").
*
- *
+ *
* The following class and property files are provided:
@@ -2481,7 +2481,7 @@
* }
*
*
- * @apiNote {@code ResourceBundle.Control} is not supported
+ * @apiNote {@code ResourceBundle.Control} is not supported
* in named modules. If the {@code ResourceBundle.getBundle} method with
* a {@code ResourceBundle.Control} is called in a named module, the method
* will throw an {@link UnsupportedOperationException}. Any service providers
diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/util/Scanner.java
--- a/jdk/src/java.base/share/classes/java/util/Scanner.java Wed Apr 26 09:37:23 2017 -0700
+++ b/jdk/src/java.base/share/classes/java/util/Scanner.java Wed Apr 26 13:38:21 2017 -0700
@@ -95,7 +95,7 @@
* s.close();
* }
*
- * The default whitespace delimiter used
+ * The default whitespace delimiter used
* by a scanner is as recognized by {@link Character#isWhitespace(char)
* Character.isWhitespace()}. The {@link #reset reset()}
* method will reset the value of the scanner's delimiter to the default
@@ -152,11 +152,11 @@
* {@link #reset} method will reset the value of the scanner's radix to
* {@code 10} regardless of whether it was previously changed.
*
- * An instance of this class is capable of scanning numbers in the standard
* formats as well as in the formats of the scanner's locale. A scanner's
- * initial locale is the value returned by the {@link
+ * initial locale is the value returned by the {@link
* java.util.Locale#getDefault(Locale.Category)
* Locale.getDefault(Locale.Category.FORMAT)} method; it may be changed via the {@link
* #useLocale useLocale()} method. The {@link #reset} method will reset the value of the
@@ -213,7 +213,7 @@
* getInfinity()}
* MissingResourceException
is thrown.
*
- * Localized numbers
+ * Localized numbers
*
*
The strings that can be parsed as numbers by an instance of this class * are specified in terms of the following regular-expression grammar, where @@ -244,7 +244,7 @@ *
The {@link Set#of(Object...) Set.of()} static factory methods * provide a convenient way to create immutable sets. The {@code Set} * instances created by these methods have the following characteristics: diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/util/Spliterator.java --- a/jdk/src/java.base/share/classes/java/util/Spliterator.java Wed Apr 26 09:37:23 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/util/Spliterator.java Wed Apr 26 13:38:21 2017 -0700 @@ -62,7 +62,7 @@ * New characteristics may be defined in the future, so implementors should not * assign meanings to unlisted values. * - *
A Spliterator that does not report {@code IMMUTABLE} or
+ * A Spliterator that does not report {@code IMMUTABLE} or
* {@code CONCURRENT} is expected to have a documented policy concerning:
* when the spliterator binds to the element source; and detection of
* structural interference of the element source detected after binding. A
diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/util/TimeZone.java
--- a/jdk/src/java.base/share/classes/java/util/TimeZone.java Wed Apr 26 09:37:23 2017 -0700
+++ b/jdk/src/java.base/share/classes/java/util/TimeZone.java Wed Apr 26 13:38:21 2017 -0700
@@ -74,7 +74,7 @@
* produce a TimeZone. The syntax of a custom time zone ID is:
*
* A multi-release jar file is a jar file that
+ * A multi-release jar file is a jar file that
* contains a manifest with a main attribute named "Multi-Release",
* a set of "base" entries, some of which are public classes with public
* or protected methods that comprise the public interface of the jar file,
diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/util/regex/Pattern.java
--- a/jdk/src/java.base/share/classes/java/util/regex/Pattern.java Wed Apr 26 09:37:23 2017 -0700
+++ b/jdk/src/java.base/share/classes/java/util/regex/Pattern.java Wed Apr 26 13:38:21 2017 -0700
@@ -77,7 +77,7 @@
* such use.
*
*
- * The backslash character ({@code '\'}) serves to introduce escaped
* constructs, as defined in the table above, as well as to quote characters
@@ -416,7 +416,7 @@
* {@code (hello)} the string literal {@code "\\(hello\\)"}
* must be used.
*
- * Character classes may appear within other character classes, and
* may be composed by the union operator (implicit) and the intersection
@@ -454,7 +454,7 @@
* character class, while the expression {@code -} becomes a range
* forming metacharacter.
*
- * A line terminator is a one- or two-character sequence that marks
* the end of a line of the input character sequence. The following are
@@ -489,9 +489,9 @@
* except at the end of input. When in {@link #MULTILINE} mode {@code $}
* matches just before a line terminator or the end of the input sequence.
*
- * Capturing groups are numbered by counting their opening parentheses from
* left to right. In the expression {@code ((A)(B(C)))}, for example, there
* are four such groups: A capturing group can also be assigned a "name", a {@code named-capturing group},
* and then be back-referenced later by the "name". Group names are composed of
* the following characters. The first character must be a {@code letter}.
@@ -585,7 +585,7 @@
* and outside of a character class.
*
*
- * Scripts are specified either with the prefix {@code Is}, as in
+ * Scripts are specified either with the prefix {@code Is}, as in
* {@code IsHiragana}, or by using the {@code script} keyword (or its short
* form {@code sc}) as in {@code script=Hiragana} or {@code sc=Hiragana}.
*
@@ -594,7 +594,7 @@
* {@link java.lang.Character.UnicodeScript#forName(String) UnicodeScript.forName}.
*
*
- * Blocks are specified with the prefix {@code In}, as in
+ * Blocks are specified with the prefix {@code In}, as in
* {@code InMongolian}, or by using the keyword {@code block} (or its short
* form {@code blk}) as in {@code block=Mongolian} or {@code blk=Mongolian}.
*
@@ -603,7 +603,7 @@
* {@link java.lang.Character.UnicodeBlock#forName(String) UnicodeBlock.forName}.
*
*
- * Categories may be specified with the optional prefix {@code Is}:
+ * Categories may be specified with the optional prefix {@code Is}:
* Both {@code \p{L}} and {@code \p{IsL}} denote the category of Unicode
* letters. Same as scripts and blocks, categories can also be specified
* by using the keyword {@code general_category} (or its short form
@@ -616,7 +616,7 @@
* defined in the Standard, both normative and informative.
*
*
- * Binary properties are specified with the prefix {@code Is}, as in
+ * Binary properties are specified with the prefix {@code Is}, as in
* {@code IsAlphabetic}. The supported binary properties by {@code Pattern}
* are
*
- *
+ *
* Categories that behave like the java.lang.Character
* boolean ismethodname methods (except for the deprecated ones) are
* available through the same Calendar Types
+ * Calendar Types
*
* Calendar types are used to specify calendar systems for which the {@link
* #getDisplayName(String, int, int, int, Locale) getDisplayName} and {@link
diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/util/stream/package-info.java
--- a/jdk/src/java.base/share/classes/java/util/stream/package-info.java Wed Apr 26 09:37:23 2017 -0700
+++ b/jdk/src/java.base/share/classes/java/util/stream/package-info.java Wed Apr 26 13:38:21 2017 -0700
@@ -94,7 +94,7 @@
* Additional stream sources can be provided by third-party libraries using
* these techniques.
*
- * Stream operations are divided into intermediate and
* terminal operations, and are combined to form stream
@@ -159,7 +159,7 @@
* is a necessary, but not sufficient, condition for the processing of an infinite
* stream to terminate normally in finite time.
*
- * Processing elements with an explicit {@code for-}loop is inherently serial.
* Streams facilitate parallel execution by reframing the computation as a pipeline of
@@ -206,7 +206,7 @@
* as {@link java.util.function.Function}, and are often lambda expressions or
* method references.
*
- * Streams may or may not have a defined encounter order. Whether
* or not a stream has an encounter order depends on the source and the
@@ -388,7 +388,7 @@
* However, most stream pipelines, such as the "sum of weight of blocks" example
* above, still parallelize efficiently even under ordering constraints.
*
- * Examples of associative operations include numeric addition, min, and
* max, and string concatenation.
*
- *
- * CustomID:
+ * CustomID:
*
*
- * GMT
Sign Hours :
Minutes
* GMT
Sign Hours Minutes
* GMT
Sign Hours
@@ -102,7 +102,7 @@
* When creating a TimeZone
, the specified custom time
* zone ID is normalized in the following syntax:
*
- * NormalizedCustomID:
+ * NormalizedCustomID:
*
GMT
Sign TwoDigitHours :
Minutes
* Sign: one of
* + -
diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/util/jar/JarFile.java
--- a/jdk/src/java.base/share/classes/java/util/jar/JarFile.java Wed Apr 26 09:37:23 2017 -0700
+++ b/jdk/src/java.base/share/classes/java/util/jar/JarFile.java Wed Apr 26 13:38:21 2017 -0700
@@ -48,7 +48,7 @@
* processing multi-release jar files. The {@code Manifest} can be used
* to specify meta-information about the jar file and its entries.
*
- * Summary of regular-expression constructs
+ * Summary of regular-expression constructs
*
*
@@ -388,7 +388,7 @@
*
*
*
*
- * Backslashes, escapes, and quoting
+ * Backslashes, escapes, and quoting
*
* Character Classes
+ * Character Classes
*
* Line terminators
+ * Line terminators
*
* Groups and capturing
+ * Groups and capturing
*
- * Group number
+ * Group number
* Group name
+ * Group name
*
@@ -687,7 +687,7 @@
*
A non-word character: {@code [^\w]}
* \p{
prop}
syntax where
diff -r c1b0ca015127 -r b2b4d98404ba jdk/src/java.base/share/classes/java/util/spi/CalendarNameProvider.java
--- a/jdk/src/java.base/share/classes/java/util/spi/CalendarNameProvider.java Wed Apr 26 09:37:23 2017 -0700
+++ b/jdk/src/java.base/share/classes/java/util/spi/CalendarNameProvider.java Wed Apr 26 13:38:21 2017 -0700
@@ -33,7 +33,7 @@
* An abstract class for service providers that provide localized string
* representations (display names) of {@code Calendar} field values.
*
- * Stream operations and pipelines
+ * Stream operations and pipelines
*
* Parallelism
+ * Parallelism
*
* Non-interference
+ * Non-interference
*
* Streams enable you to execute possibly-parallel aggregate operations over a
* variety of data sources, including even non-thread-safe collections such as
@@ -252,7 +252,7 @@
* Low-level stream
* construction for requirements for building well-behaved streams.
*
- * Stateless behaviors
+ * Stateless behaviors
*
* Stream pipeline results may be nondeterministic or incorrect if the behavioral
* parameters to the stream operations are stateful. A stateful lambda
@@ -280,7 +280,7 @@
* parameters to stream operations entirely; there is usually a way to
* restructure the stream pipeline to avoid statefulness.
*
- * Side-effects
+ * Side-effects
*
* Side-effects in behavioral parameters to stream operations are, in general,
* discouraged, as they can often lead to unwitting violations of the
@@ -349,7 +349,7 @@
* .collect(Collectors.toList()); // No side-effects!
* }Ordering
+ * Ordering
*
* Reduction operations
+ * Reduction operations
*
* A reduction operation (also called a fold) takes a sequence
* of input elements and combines them into a single summary result by repeated
@@ -493,7 +493,7 @@
* significant work can be optimized away by combining mapping and reducing
* into a single function.
*
- * Mutable reduction
+ * Mutable reduction
*
* A mutable reduction operation accumulates input elements into a
* mutable result container, such as a {@code Collection} or {@code StringBuilder},
@@ -620,7 +620,7 @@
* but in some cases equivalence may be relaxed to account for differences in
* order.
*
- * Reduction, concurrency, and ordering
+ * Reduction, concurrency, and ordering
*
* With some complex reduction operations, for example a {@code collect()} that
* produces a {@code Map}, such as:
@@ -675,7 +675,7 @@
* We would then be constrained to implement either a sequential reduction or
* a merge-based parallel reduction.
*
- * Associativity
+ * Associativity
*
* An operator or function {@code op} is associative if the following
* holds:
@@ -693,7 +693,7 @@
* Low-level stream construction
+ * Low-level stream construction
*
* So far, all the stream examples have used methods like
* {@link java.util.Collection#stream()} or {@link java.util.Arrays#stream(Object[])}