[multiple changes]
2004-04-20 Jeroen Frijters <jeroen@frijters.net> * java/text/DecimalFormat.java (scanFix): Removed suffix check for percent and permill check. 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org> * java/text/FieldPosition.java (FieldPosition) Constructor now behaves as it should according to the java documentation. 2004-04-20 Mark Wielaard <mark@klomp.org> * java/util/Properties.java: Use the word umlaut, not ä in api documentation. From-SVN: r80910
This commit is contained in:
parent
92e1fe6748
commit
391d8ef5e0
4 changed files with 24 additions and 11 deletions
|
@ -188,17 +188,14 @@ label = Name:\\u0020</pre>
|
|||
{
|
||||
char c = 0;
|
||||
int pos = 0;
|
||||
// If empty line or begins with a comment character, skip this line.
|
||||
if (line.length() == 0
|
||||
|| line.charAt(0) == '#' || line.charAt(0) == '!')
|
||||
continue;
|
||||
|
||||
// Leading whitespaces must be deleted first.
|
||||
while (pos < line.length()
|
||||
&& Character.isWhitespace(c = line.charAt(pos)))
|
||||
pos++;
|
||||
|
||||
// If line is empty skip this line.
|
||||
if (pos == line.length())
|
||||
// If empty line or begins with a comment character, skip this line.
|
||||
if (line.length() == 0
|
||||
|| line.charAt(0) == '#' || line.charAt(0) == '!')
|
||||
continue;
|
||||
|
||||
// The characters up to the next Whitespace, ':', or '='
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue