Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
Boolean handling is broken due to a bug in
QTagImplPlugin.vm
What it does is:
#if($method.returns.value != "boolean")
return result;
#else
return Boolean.getBoolean(result);
#endBoolean.getBoolean(result)
According to the JavaDocs:
static getBoolean(String name)
Returns true if and only if the **system property** named by the argument exists and is equal to the string "true".
You want something like this rather:
return Boolean.valueOf(result).booleanValue()
(You also need to change the "test" case as the output will change)
done. thanks.