]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/DataValidation.java
Change true to TRUE.
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / common / DataValidation.java
index 402f4284d3e499f5dbabca5750677b5d7b36009e..d36f258dc1ddae9532a8e17e77c96e1a9a689ae4 100644 (file)
@@ -309,7 +309,7 @@ public class DataValidation {
      \r
      **/\r
     public static boolean isHexWordArrayType(String arg0) {\r
-        return isMatch("((\\s)*0x([a-fA-F0-9]){4}(,)?(\\s)*)+", arg0);\r
+        return arg0.length() >=6 && isMatch("((\\s)*0x([a-fA-F0-9]){4}(,)?(\\s)*)+", arg0);\r
     }\r
 \r
     /**\r