svn commit: r13685 - trunk/src_new/org/argouml/uml/ui/TabSrc.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: euluis
Date: 2007-10-13 15:15:54-0700
New Revision: 13685

Modified:
   trunk/src_new/org/argouml/uml/ui/TabSrc.java

Log:
Issue #4882: get the String out of StringBuilder and this is the thing that gets added to cbFiles, so that we don't have the error in TabSrc.itemStateChanged(xxx).

Modified: trunk/src_new/org/argouml/uml/ui/TabSrc.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/ui/TabSrc.java?view=diff&rev=13685&p1=trunk/src_new/org/argouml/uml/ui/TabSrc.java&p2=trunk/src_new/org/argouml/uml/ui/TabSrc.java&r1=13684&r2=13685
==============================================================================
--- trunk/src_new/org/argouml/uml/ui/TabSrc.java	(original)
+++ trunk/src_new/org/argouml/uml/ui/TabSrc.java	2007-10-13 15:15:54-0700
@@ -117,7 +117,7 @@
 		if (files[i].getBasePath().length() > 0) {
 		    title.append(" ( " + files[i].getFullName() + ")");
 		}
-		cbFiles.addItem(title);
+		cbFiles.addItem(title.toString());
 	    }
 	}
     }
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.