mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-26 00:02:06 +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() {
|
protected void resetValues() {
|
||||||
synchronized (values) {
|
synchronized (values) {
|
||||||
values.removeAll(new ArrayList<>(values));
|
values.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue