git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@448 6f19259b...
authorjlin16 <jlin16@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 9 Jun 2006 02:30:10 +0000 (02:30 +0000)
committerjlin16 <jlin16@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 9 Jun 2006 02:30:10 +0000 (02:30 +0000)
Tools/Source/PackageEditor/src/org/tianocore/packaging/SpdFileContents.java

index b82c2bc7df0f827b274b8fed9341cbbab0968f8f..2d90f38e33b053c5381ba6c0c764f41f6c59bf3c 100644 (file)
@@ -822,9 +822,7 @@ public class SpdFileContents {
             e.setName(entryName);\r
             e.setCName(cName);\r
             e.addNewGuid().setStringValue(guid);\r
-            if (featureFlag != null) {\r
-                e.addNewFeatureFlag().setStringValue(featureFlag);\r
-            }\r
+            \r
             return;\r
         }\r
         if (parent instanceof ProtocolDeclarationsDocument.ProtocolDeclarations) {\r
@@ -833,10 +831,7 @@ public class SpdFileContents {
             pe.setName(entryName);\r
             pe.setCName(cName);\r
             pe.addNewGuid().setStringValue(guid);\r
-            if (featureFlag != null) {\r
-                pe.addNewFeatureFlag().setStringValue(featureFlag);\r
-            }\r
-            return;\r
+            \r
         }\r
         if (parent instanceof PpiDeclarationsDocument.PpiDeclarations) {\r
             PpiDeclarationsDocument.PpiDeclarations.Entry ppe = ((PpiDeclarationsDocument.PpiDeclarations) parent)\r
@@ -844,9 +839,7 @@ public class SpdFileContents {
             ppe.setName(entryName);\r
             ppe.setCName(cName);\r
             ppe.addNewGuid().setStringValue(guid);\r
-            if (featureFlag != null) {\r
-                ppe.addNewFeatureFlag().setStringValue(featureFlag);\r
-            }\r
+            \r
             return;\r
         }\r
 \r