mirror of https://github.com/acidanthera/audk.git
do not generate version attributes when saving module order information in FV if no version data provided in ModuleSA or original BuildOptions->UserExtensions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1606 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
bb511931b1
commit
5342724213
|
@ -1761,9 +1761,14 @@ public class FpdFileContents {
|
|||
for (int i = 0; i < includeModules.size(); ++i) {
|
||||
cursor.beginElement(elementModule);
|
||||
cursor.insertAttributeWithValue("ModuleGuid", includeModules.get(i)[0]);
|
||||
cursor.insertAttributeWithValue("ModuleVersion", includeModules.get(i)[1]);
|
||||
if (!includeModules.get(i)[1].equals("null") && includeModules.get(i)[1].length() != 0) {
|
||||
cursor.insertAttributeWithValue("ModuleVersion", includeModules.get(i)[1]);
|
||||
}
|
||||
cursor.insertAttributeWithValue("PackageGuid", includeModules.get(i)[2]);
|
||||
cursor.insertAttributeWithValue("PackageVersion", includeModules.get(i)[3]);
|
||||
if (!includeModules.get(i)[3].equals("null") && includeModules.get(i)[3].length() != 0) {
|
||||
cursor.insertAttributeWithValue("PackageVersion", includeModules.get(i)[3]);
|
||||
}
|
||||
|
||||
cursor.insertAttributeWithValue("Arch", includeModules.get(i)[4]);
|
||||
cursor.toEndToken();
|
||||
cursor.toNextToken();
|
||||
|
|
|
@ -2842,7 +2842,7 @@ public class FpdFlash extends IInternalFrame {
|
|||
private JButton getJButtonInsert() {
|
||||
if (jButtonInsert == null) {
|
||||
jButtonInsert = new JButton();
|
||||
jButtonInsert.setText("<<");
|
||||
jButtonInsert.setText("<");
|
||||
jButtonInsert.setPreferredSize(new java.awt.Dimension(60,20));
|
||||
jButtonInsert.addActionListener(new java.awt.event.ActionListener() {
|
||||
public void actionPerformed(java.awt.event.ActionEvent e) {
|
||||
|
@ -2888,7 +2888,7 @@ public class FpdFlash extends IInternalFrame {
|
|||
if (jButtonRemove == null) {
|
||||
jButtonRemove = new JButton();
|
||||
jButtonRemove.setPreferredSize(new java.awt.Dimension(60,20));
|
||||
jButtonRemove.setText(">>");
|
||||
jButtonRemove.setText(">");
|
||||
jButtonRemove.addActionListener(new java.awt.event.ActionListener() {
|
||||
public void actionPerformed(java.awt.event.ActionEvent e) {
|
||||
int selectedRowLeft = jTableModInFv.getSelectedRow();
|
||||
|
|
Loading…
Reference in New Issue