svn commit: r13736 - trunk/src_new/org/argouml/notation/providers/uml/ComponentInstanceNotationUml.java
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: tfmorris
Date: 2007-11-07 21:08:45-0800
New Revision: 13736
Modified:
trunk/src_new/org/argouml/notation/providers/uml/ComponentInstanceNotationUml.java
Log:
Fix yet another StringBuffer null pointer exception
Modified: trunk/src_new/org/argouml/notation/providers/uml/ComponentInstanceNotationUml.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/notation/providers/uml/ComponentInstanceNotationUml.java?view=diff&rev=13736&p1=trunk/src_new/org/argouml/notation/providers/uml/ComponentInstanceNotationUml.java&p2=trunk/src_new/org/argouml/notation/providers/uml/ComponentInstanceNotationUml.java&r1=13735&r2=13736
==============================================================================
--- trunk/src_new/org/argouml/notation/providers/uml/ComponentInstanceNotationUml.java (original)
+++ trunk/src_new/org/argouml/notation/providers/uml/ComponentInstanceNotationUml.java 2007-11-07 21:08:45-0800
@@ -116,7 +116,7 @@
Collection col = Model.getFacade().getClassifiers(modelElement);
if (col != null && col.size() > 0) {
Iterator it = col.iterator();
- baseStr = new StringBuilder(Model.getFacade().getName(it.next()));
+ baseStr.append(Model.getFacade().getName(it.next()));
while (it.hasNext()) {
baseStr.append(", " + Model.getFacade().getName(it.next()));
}