mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 01:29:38 +02:00
Merge branch '4.2'
This commit is contained in:
commit
3bdeca44f2
7 changed files with 45 additions and 113 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue