svn commit: r16540 - trunk/src/argouml-app/src/org/argouml/notation/providers/uml/AssociationRoleNotationUml.java

Michiel van der Wulp <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: mvw
Date: 2009-01-07 23:38:49-0800
New Revision: 16540

Modified:
   trunk/src/argouml-app/src/org/argouml/notation/providers/uml/AssociationRoleNotationUml.java

Log:
When working on issue 5602, I noticed that the wrong text was displayed.
Hence this defect fix.

Modified: trunk/src/argouml-app/src/org/argouml/notation/providers/uml/AssociationRoleNotationUml.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/notation/providers/uml/AssociationRoleNotationUml.java?view=diff&pathrev=16540&r1=16539&r2=16540
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/notation/providers/uml/AssociationRoleNotationUml.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/notation/providers/uml/AssociationRoleNotationUml.java	2009-01-07 23:38:49-0800
@@ -1,5 +1,5 @@
 // $Id$
-// Copyright (c) 2006-2007 The Regents of the University of California. All
+// Copyright (c) 2006-2009 The Regents of the University of California. All
 // Rights Reserved. Permission to use, copy, modify, and distribute this
 // software and its documentation without fee, and without a written
 // agreement is hereby granted, provided that the above copyright notice
@@ -26,8 +26,8 @@
 
 import java.text.ParseException;
 import java.util.Collection;
-import java.util.Map;
 import java.util.Iterator;
+import java.util.Map;
 
 import org.argouml.application.events.ArgoEventPump;
 import org.argouml.application.events.ArgoEventTypes;
@@ -68,7 +68,7 @@
         try {
             parseRole(modelElement, text);
         } catch (ParseException pe) {
-            String msg = "statusmsg.bar.error.parsing.association-end-name";
+            String msg = "statusmsg.bar.error.parsing.association-role";
             Object[] args = {
                 pe.getLocalizedMessage(),
                 Integer.valueOf(pe.getErrorOffset()),

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=1011180

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.