Imported GNU Classpath 0.19 + gcj-import-20051115.
* sources.am: Regenerated.
* Makefile.in: Likewise.
* scripts/makemake.tcl: Use glob -nocomplain.
From-SVN: r107049
This commit is contained in:
@@ -57,10 +57,10 @@ class BooleanHandler extends SimpleHandler
|
||||
protected Object parse(String number) throws AssemblyException
|
||||
{
|
||||
if (number.equals("true"))
|
||||
return new Boolean(true);
|
||||
return Boolean.TRUE;
|
||||
|
||||
if (number.equals("false"))
|
||||
return new Boolean(false);
|
||||
return Boolean.FALSE;
|
||||
|
||||
throw new AssemblyException(new IllegalArgumentException("Element contained no valid boolean value."));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user