2004-04-21 Michael Koch <konqueror@gmx.de>
* java/util/Properties.java (load): Fix wrongly merged fix. From-SVN: r80949
This commit is contained in:
committed by
Michael Koch
parent
60e957d071
commit
ca17d211e8
@@ -194,8 +194,8 @@ label = Name:\\u0020</pre>
|
||||
pos++;
|
||||
|
||||
// If empty line or begins with a comment character, skip this line.
|
||||
if (line.length() == 0
|
||||
|| line.charAt(0) == '#' || line.charAt(0) == '!')
|
||||
if ((line.length() - pos) == 0
|
||||
|| line.charAt(pos) == '#' || line.charAt(pos) == '!')
|
||||
continue;
|
||||
|
||||
// The characters up to the next Whitespace, ':', or '='
|
||||
|
||||
Reference in New Issue
Block a user