You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2009/05/08 17:02:05 UTC

svn commit: r773023 - /maven/components/branches/MNG-2766/maven-model/src/main/mdo/maven.mdo

Author: bentmann
Date: Fri May  8 15:02:05 2009
New Revision: 773023

URL: http://svn.apache.org/viewvc?rev=773023&view=rev
Log:
o Fixed toString() to not return null

Modified:
    maven/components/branches/MNG-2766/maven-model/src/main/mdo/maven.mdo

Modified: maven/components/branches/MNG-2766/maven-model/src/main/mdo/maven.mdo
URL: http://svn.apache.org/viewvc/maven/components/branches/MNG-2766/maven-model/src/main/mdo/maven.mdo?rev=773023&r1=773022&r2=773023&view=diff
==============================================================================
--- maven/components/branches/MNG-2766/maven-model/src/main/mdo/maven.mdo (original)
+++ maven/components/branches/MNG-2766/maven-model/src/main/mdo/maven.mdo Fri May  8 15:02:05 2009
@@ -2365,7 +2365,7 @@
     @Override
     public String toString()
     {
-        return getId();
+        return ( getId() != null ) ? getId() : "[null]";
     }
             ]]>
           </code>