Skip to content

Commit fdcd16a

Browse files
author
Pavel Rappo
committedNov 15, 2021
8277048: Tiny improvements to the specification text for java.util.Properties.load
Reviewed-by: rriggs, iris, naoto
1 parent b231f5b commit fdcd16a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/java.base/share/classes/java/util/Properties.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public synchronized Object setProperty(String key, String value) {
236236
* character stream in a simple line-oriented format.
237237
* <p>
238238
* Properties are processed in terms of lines. There are two
239-
* kinds of line, <i>natural lines</i> and <i>logical lines</i>.
239+
* kinds of lines, <i>natural lines</i> and <i>logical lines</i>.
240240
* A natural line is defined as a line of
241241
* characters that is terminated either by a set of line terminator
242242
* characters ({@code \n} or {@code \r} or {@code \r\n})
@@ -253,8 +253,8 @@ public synchronized Object setProperty(String key, String value) {
253253
* <p>
254254
* A natural line that contains only white space characters is
255255
* considered blank and is ignored. A comment line has an ASCII
256-
* {@code '#'} or {@code '!'} as its first non-white
257-
* space character; comment lines are also ignored and do not
256+
* {@code '#'} or {@code '!'} as its first non-whitespace
257+
* character; comment lines are also ignored and do not
258258
* encode key-element information. In addition to line
259259
* terminators, this format considers the characters space
260260
* ({@code ' '}, {@code '\u005Cu0020'}), tab

0 commit comments

Comments
 (0)
Please sign in to comment.