From 25232e9cb3642ca69dd0e75145ae47fc2f8c8f56 Mon Sep 17 00:00:00 2001 From: jlin16 Date: Wed, 24 Jan 2007 09:59:00 +0000 Subject: [PATCH] git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2297 6f19259b-4bc3-4df7-8a09-765794883524 --- .../tianocore/frameworkwizard/platform/ui/FpdModuleSA.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); + } } } }