UML2 (and ArgoPrint) : Tagged Value

Laurent BRAUD <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.devel
Message-ID <1175878090.31335.1311251475430.JavaMail.httpd@localhost>
Hi,
When I launch ArgoPrint with UML2, we have in file "$DiagramUtil.getMemberDescription" instead of "" for UML

The getTaggedValueValue return "" with UML1, but it return null with UML2

2 choices (I think): 
- Change the getTaggedValueValue in UML2
- Change Argoprint in order to have "" when null is return.


getTaggedValueValue is used in other module. So, do we need to change in all modules (if needed)
Is there a problem if we put "" instead of null ? (See comment: <> from UML1, but for null or for something else)


Class : org.argouml.model.euml

public String getTaggedValueValue(Object handle, String name) {
        // usage differs from UML1
        Object tv = getTaggedValue(handle, name);
        return tv != null ? tv.toString() : ""; //$NON-NLS-1$
    }

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

To unsubscribe from this discussion, e-mail: [[email protected]].
To be allowed to post to the list contact the mailing list moderator, email: [[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.