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.setName(entryName);
|
||||||
e.setCName(cName);
|
e.setCName(cName);
|
||||||
e.addNewGuid().setStringValue(guid);
|
e.addNewGuid().setStringValue(guid);
|
||||||
if (featureFlag != null) {
|
|
||||||
e.addNewFeatureFlag().setStringValue(featureFlag);
|
|
||||||
}
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (parent instanceof ProtocolDeclarationsDocument.ProtocolDeclarations) {
|
if (parent instanceof ProtocolDeclarationsDocument.ProtocolDeclarations) {
|
||||||
|
@ -833,10 +831,7 @@ public class SpdFileContents {
|
||||||
pe.setName(entryName);
|
pe.setName(entryName);
|
||||||
pe.setCName(cName);
|
pe.setCName(cName);
|
||||||
pe.addNewGuid().setStringValue(guid);
|
pe.addNewGuid().setStringValue(guid);
|
||||||
if (featureFlag != null) {
|
|
||||||
pe.addNewFeatureFlag().setStringValue(featureFlag);
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
if (parent instanceof PpiDeclarationsDocument.PpiDeclarations) {
|
if (parent instanceof PpiDeclarationsDocument.PpiDeclarations) {
|
||||||
PpiDeclarationsDocument.PpiDeclarations.Entry ppe = ((PpiDeclarationsDocument.PpiDeclarations) parent)
|
PpiDeclarationsDocument.PpiDeclarations.Entry ppe = ((PpiDeclarationsDocument.PpiDeclarations) parent)
|
||||||
|
@ -844,9 +839,7 @@ public class SpdFileContents {
|
||||||
ppe.setName(entryName);
|
ppe.setName(entryName);
|
||||||
ppe.setCName(cName);
|
ppe.setCName(cName);
|
||||||
ppe.addNewGuid().setStringValue(guid);
|
ppe.addNewGuid().setStringValue(guid);
|
||||||
if (featureFlag != null) {
|
|
||||||
ppe.addNewFeatureFlag().setStringValue(featureFlag);
|
|
||||||
}
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue