mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-22 02:27:58 +01:00
[xdata] Allow FillableForm.write() ot overwrite already filled fields
This commit is contained in:
parent
8c57d34b97
commit
68edc8b9f5
1 changed files with 0 additions and 3 deletions
|
@ -224,9 +224,6 @@ public class FillableForm extends FilledForm {
|
||||||
if (!getDataForm().hasField(fieldName)) {
|
if (!getDataForm().hasField(fieldName)) {
|
||||||
throw new IllegalArgumentException();
|
throw new IllegalArgumentException();
|
||||||
}
|
}
|
||||||
if (filledFields.containsKey(fieldName)) {
|
|
||||||
throw new IllegalArgumentException();
|
|
||||||
}
|
|
||||||
|
|
||||||
// Perform validation, e.g. using XEP-0122.
|
// Perform validation, e.g. using XEP-0122.
|
||||||
// TODO: We could also perform list-* option validation, but this has to take xep122's <open/> into account.
|
// TODO: We could also perform list-* option validation, but this has to take xep122's <open/> into account.
|
||||||
|
|
Loading…
Reference in a new issue