git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2297 de2fecce-e211-0410-80a6...
authorjlin16 <jlin16@de2fecce-e211-0410-80a6-f3fac2684e05>
Wed, 24 Jan 2007 09:59:00 +0000 (09:59 +0000)
committerjlin16 <jlin16@de2fecce-e211-0410-80a6-f3fac2684e05>
Wed, 24 Jan 2007 09:59:00 +0000 (09:59 +0000)
edk2/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdModuleSA.java

index 2dbb72f..9b5ec73 100644 (file)
@@ -457,7 +457,9 @@ public class FpdModuleSA extends JDialog implements ActionListener {
                         instancesName += " ";\r
                     }\r
                     String msg = new ImproperInstanceException(lcd.className, instancesName, lcd.supArchs, lcd.supModTypes).getMessage();\r
-                    errorMsg.add(msg);\r
+                    if (!errorMsg.contains(msg)) {\r
+                        errorMsg.add(msg);\r
+                    }\r
                 }\r
             }\r
         }\r