]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/Identifications/Events/EventsIdentification.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 / Events / EventsIdentification.java
index 24e168335deff0760eb58553fd7a8545210dce87..bbb22e594a5b6df3c5a1d09bac3f95e90fc2571b 100644 (file)
@@ -17,6 +17,8 @@ package org.tianocore.frameworkwizard.module.Identifications.Events;
 \r
 import java.util.Vector;\r
 \r
+import org.tianocore.frameworkwizard.common.DataType;\r
+\r
 public class EventsIdentification {\r
 \r
     //\r
@@ -38,6 +40,7 @@ public class EventsIdentification {
 \r
     public EventsIdentification(String arg0, String arg1, String arg2, String arg3, Vector<String> arg4, String arg5, String arg6) {\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