1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-26 16:22: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:
Gaston Dombiak 2004-04-07 19:48:39 +00:00 committed by gdombiak
parent 6155bf2227
commit 6c7d71e9ca

View file

@ -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.