]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/Identifications/Hobs/HobsIdentification.java
1. Fix EDKT528: Framework wizard should not force user to specify a GuidCName for...
[mirror_edk2.git] / Tools / Java / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / module / Identifications / Hobs / HobsIdentification.java
index e2144fa5835d4356036d7a2c98147a7d7b0ffe3b..7b9dadd15e6d20eea5bf0005a20d2551a24d3af8 100644 (file)
@@ -17,6 +17,8 @@ package org.tianocore.frameworkwizard.module.Identifications.Hobs;
 \r
 import java.util.Vector;\r
 \r
+import org.tianocore.frameworkwizard.common.DataType;\r
+\r
 public class HobsIdentification {\r
 \r
     //\r
@@ -36,6 +38,7 @@ public class HobsIdentification {
 \r
     public HobsIdentification(String arg0, String arg1, String arg2, String arg3, Vector<String> arg4, String arg5) {\r
         this.name = (arg0 == null ? "" : arg0);\r
+        this.name = (this.name == DataType.EMPTY_SELECT_ITEM ? "" : this.name);\r
         this.type = (arg1 == null ? "" : arg1);\r
         this.usage = (arg2 == null ? "" : arg2);\r
         this.featureFlag = (arg3 == null ? "" : arg3);\r