Build: #218 failed Changes by Florian Schmaus <flo@geekplace.eu>
Code commits
Smack (4.4)
-
Florian Schmaus <flo@geekplace.eu> 5c46451cd204f932fc48fced90a6b9bdb8847339
[xdata] Add BooleanFormField.getValueAsBooleanOrNull()
This method is meant to provide 'raw' access to what has been sent
over the wire. It is assumed to be not of much use in the typically
case, but provided for completeness. -
Florian Schmaus <flo@geekplace.eu> 940d7bf02abc0997eabc4cda12157ad2ceedfcf7
[xdata] Adjust behavior of BooleanFormField.getValueAsBoolean()
According to XEP-0004 § 3.3, the default value of a boolean form field
is 'false'. And since users are typically interested in getting the
value, and not potentially 'null' as result, we adjust the behavior of
the getValueAsBoolean() method consider the default value.