1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-10 17:49:38 +02:00

Merge branch '4.2'

This commit is contained in:
Florian Schmaus 2018-02-23 18:35:34 +01:00
commit 3bdeca44f2
7 changed files with 45 additions and 113 deletions

View file

@ -235,7 +235,7 @@ public class Form {
if (field.getType() != FormField.Type.bool) {
throw new IllegalArgumentException("This field is not of type boolean.");
}
setAnswer(field, (value ? "1" : "0"));
setAnswer(field, Boolean.toString(value));
}
/**