From 445705369d448a3f5b6a48edccb703798832d3c5 Mon Sep 17 00:00:00 2001 From: jlin16 Date: Fri, 9 Jun 2006 02:30:10 +0000 Subject: [PATCH] git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@448 6f19259b-4bc3-4df7-8a09-765794883524 --- .../org/tianocore/packaging/SpdFileContents.java | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/Tools/Source/PackageEditor/src/org/tianocore/packaging/SpdFileContents.java b/Tools/Source/PackageEditor/src/org/tianocore/packaging/SpdFileContents.java index b82c2bc7df..2d90f38e33 100644 --- a/Tools/Source/PackageEditor/src/org/tianocore/packaging/SpdFileContents.java +++ b/Tools/Source/PackageEditor/src/org/tianocore/packaging/SpdFileContents.java @@ -822,9 +822,7 @@ public class SpdFileContents { e.setName(entryName); e.setCName(cName); e.addNewGuid().setStringValue(guid); - if (featureFlag != null) { - e.addNewFeatureFlag().setStringValue(featureFlag); - } + return; } if (parent instanceof ProtocolDeclarationsDocument.ProtocolDeclarations) { @@ -833,10 +831,7 @@ public class SpdFileContents { pe.setName(entryName); pe.setCName(cName); pe.addNewGuid().setStringValue(guid); - if (featureFlag != null) { - pe.addNewFeatureFlag().setStringValue(featureFlag); - } - return; + } if (parent instanceof PpiDeclarationsDocument.PpiDeclarations) { PpiDeclarationsDocument.PpiDeclarations.Entry ppe = ((PpiDeclarationsDocument.PpiDeclarations) parent) @@ -844,9 +839,7 @@ public class SpdFileContents { ppe.setName(entryName); ppe.setCName(cName); ppe.addNewGuid().setStringValue(guid); - if (featureFlag != null) { - ppe.addNewFeatureFlag().setStringValue(featureFlag); - } + return; }