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:
parent
60e957d071
commit
ca17d211e8
2 changed files with 7 additions and 2 deletions
|
@ -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 '='
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue