summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlin16 <jlin16@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-24 09:59:00 +0000
committerjlin16 <jlin16@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-24 09:59:00 +0000
commit25232e9cb3642ca69dd0e75145ae47fc2f8c8f56 (patch)
tree66047d3c824c48e931c21a6109ef8c0d3c751e04
parent16046b7615a05f8aeabdcb09fc56fa957770fbfd (diff)
downloadedk2-25232e9cb3642ca69dd0e75145ae47fc2f8c8f56.zip
edk2-25232e9cb3642ca69dd0e75145ae47fc2f8c8f56.tar.gz
edk2-25232e9cb3642ca69dd0e75145ae47fc2f8c8f56.tar.bz2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2297 6f19259b-4bc3-4df7-8a09-765794883524
-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 2dbb72f..9b5ec73 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);
+ }
}
}
}