Skip to content
Permalink
Browse files
8277048: Tiny improvements to the specification text for java.util.Pr…
…operties.load

Reviewed-by: rriggs, iris, naoto
  • Loading branch information
pavelrappo committed Nov 15, 2021
1 parent b231f5b commit fdcd16a38fb9a14a819d68682f9666ebfe7285db
Showing 1 changed file with 3 additions and 3 deletions.
@@ -236,7 +236,7 @@ public synchronized Object setProperty(String key, String value) {
* character stream in a simple line-oriented format.
* <p>
* Properties are processed in terms of lines. There are two
* kinds of line, <i>natural lines</i> and <i>logical lines</i>.
* kinds of lines, <i>natural lines</i> and <i>logical lines</i>.
* A natural line is defined as a line of
* characters that is terminated either by a set of line terminator
* characters ({@code \n} or {@code \r} or {@code \r\n})
@@ -253,8 +253,8 @@ public synchronized Object setProperty(String key, String value) {
* <p>
* A natural line that contains only white space characters is
* considered blank and is ignored. A comment line has an ASCII
* {@code '#'} or {@code '!'} as its first non-white
* space character; comment lines are also ignored and do not
* {@code '#'} or {@code '!'} as its first non-whitespace
* character; comment lines are also ignored and do not
* encode key-element information. In addition to line
* terminators, this format considers the characters space
* ({@code ' '}, {@code '\u005Cu0020'}), tab

1 comment on commit fdcd16a

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on fdcd16a Nov 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.