mirror of https://github.com/acidanthera/audk.git
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@448 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
4bf9d8150f
commit
445705369d
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue