mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-30 02:02:06 +01:00
Adds protected method #resetValues
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2284 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
6155bf2227
commit
6c7d71e9ca
1 changed files with 10 additions and 0 deletions
|
@ -263,6 +263,16 @@ public class FormField {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Removes all the values of the field.
|
||||
*
|
||||
*/
|
||||
protected void resetValues() {
|
||||
synchronized (values) {
|
||||
values.removeAll(new ArrayList(values));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Adss an available options to the question that the user has in order to answer
|
||||
* the question.
|
||||
|
|
Loading…
Reference in a new issue