diff options
2 files changed, 9 insertions, 4 deletions
diff --git a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdFileContents.java b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdFileContents.java index 840f3e7700..6ca15710c2 100644 --- a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdFileContents.java +++ b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdFileContents.java @@ -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();
diff --git a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdFlash.java b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdFlash.java index 869b3b6085..e97004c3ca 100644 --- a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdFlash.java +++ b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdFlash.java @@ -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();
|