summaryrefslogtreecommitdiff
path: root/Tools/Java
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/Java')
-rw-r--r--Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdModuleSA.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdModuleSA.java b/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdModuleSA.java
index 2dbb72f406..9b5ec73b65 100644
--- a/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdModuleSA.java
+++ b/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdModuleSA.java
@@ -457,7 +457,9 @@ public class FpdModuleSA extends JDialog implements ActionListener {
instancesName += " ";
}
String msg = new ImproperInstanceException(lcd.className, instancesName, lcd.supArchs, lcd.supModTypes).getMessage();
- errorMsg.add(msg);
+ if (!errorMsg.contains(msg)) {
+ errorMsg.add(msg);
+ }
}
}
}