import javax.swing.JDialog;\r
\r
import org.tianocore.frameworkwizard.common.DataType;\r
+import org.tianocore.frameworkwizard.common.Tools;\r
\r
/**\r
The class is used to override Dialog to provides customized interfaces\r
\r
**/\r
public boolean isEmpty(String strValue) {\r
- if (strValue.length() > 0) {\r
- return false;\r
- }\r
- return true;\r
+ return Tools.isEmpty(strValue);\r
}\r
\r
/**\r