mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-30 02:02:06 +01:00
Fixed small problem in one field and removed possible NPE on get from any field.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13454 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
8c0b062629
commit
14f139f642
1 changed files with 1 additions and 1 deletions
|
@ -677,7 +677,7 @@ public class ConfigureForm extends Form
|
|||
{
|
||||
FormField formField = getField(field.getFieldName());
|
||||
|
||||
return formField.getValues().next();
|
||||
return (formField.getValues().hasNext()) ? formField.getValues().next() : null;
|
||||
}
|
||||
|
||||
private Iterator<String> getFieldValues(ConfigureNodeFields field)
|
||||
|
|
Loading…
Reference in a new issue