<< Back to previous view

[QB-3933] Request to add 'asBoolean()' in 'Variable.java' to check configuration variable value as boolean
Created: 16/Feb/23  Updated: 21/Mar/23

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: 13.0.8
Fix Version/s: 13.0.10

Type: Improvement Priority: Minor
Reporter: Jerry Lee Assigned To: Unassigned
Resolution: Fixed Votes: 0
Remaining Estimate: 4 weeks Time Spent: Unknown
Original Estimate: 4 weeks


 Description   
In 'VariableWrapper.java' file, the method 'asBoolean()' which actually calls 'getBooleanValue()' is implemented.
However, 'Variable.java' file has no 'asBoolean()', 'getBooleanValue()'.
For this reason, there is different behavior between 'build.getVar' and 'configuration.getVar' when check variable as boolean value.
Please consider to add 'asBoolean()', 'getBooleanValue()' even in 'Variable.java' like 'VariableWrapper.java'.
Generated at Thu Apr 25 20:15:52 UTC 2024 using JIRA 189.