*/\r
package eu.etaxonomy.taxeditor.ui.section.vocabulary;\r
\r
+import org.apache.commons.lang.StringUtils;\r
+\r
import eu.etaxonomy.cdm.model.common.DefinedTermBase;\r
import eu.etaxonomy.cdm.model.common.TermVocabulary;\r
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;\r
public void handleEvent(Object eventSource) {\r
handleRepresentation(eventSource);\r
if(eventSource==textIdInVocabulary){\r
- if (textIdInVocabulary.getText().equals("")){\r
+ if (StringUtils.isBlank(textIdInVocabulary.getText())){\r
getEntity().setIdInVocabulary(null);\r
}else{\r
getEntity().setIdInVocabulary(textIdInVocabulary.getText());\r