mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-29 07:22:07 +01:00
Improve FormField.resetValues()
by using clear() instead of removeAll().
This commit is contained in:
parent
2adf8a79af
commit
298bcc8097
1 changed files with 1 additions and 1 deletions
|
@ -378,7 +378,7 @@ public class FormField implements NamedElement {
|
|||
*/
|
||||
protected void resetValues() {
|
||||
synchronized (values) {
|
||||
values.removeAll(new ArrayList<>(values));
|
||||
values.clear();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue