You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by lt...@apache.org on 2006/03/16 18:27:26 UTC
svn commit: r386392 - in /maven/maven-1/plugins/trunk/changelog:
src/main/org/apache/maven/changelog/ChangeLog.java xdocs/changes.xml
Author: ltheussl
Date: Thu Mar 16 09:27:23 2006
New Revision: 386392
URL: http://svn.apache.org/viewcvs?rev=386392&view=rev
Log:
PR: MPCHANGELOG-83
NPE if developer's id is missing.
Modified:
maven/maven-1/plugins/trunk/changelog/src/main/org/apache/maven/changelog/ChangeLog.java
maven/maven-1/plugins/trunk/changelog/xdocs/changes.xml
Modified: maven/maven-1/plugins/trunk/changelog/src/main/org/apache/maven/changelog/ChangeLog.java
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/changelog/src/main/org/apache/maven/changelog/ChangeLog.java?rev=386392&r1=386391&r2=386392&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/changelog/src/main/org/apache/maven/changelog/ChangeLog.java (original)
+++ maven/maven-1/plugins/trunk/changelog/src/main/org/apache/maven/changelog/ChangeLog.java Thu Mar 16 09:27:23 2006
@@ -568,7 +568,15 @@
for ( Iterator i = getDevelopers().iterator(); i.hasNext(); )
{
developer = (Developer) i.next();
- userList.put( developer.getId(), developer.getName() );
+ if ( developer.getId() != null && developer.getName() != null )
+ {
+ userList.put( developer.getId(), developer.getName() );
+ }
+ else
+ {
+ LOG.warn( "WARNING: Some developer entries don't have an id or a name." );
+ LOG.warn( " Your changelog- and developer-activity reports will not be complete!" );
+ }
}
return userList;
Modified: maven/maven-1/plugins/trunk/changelog/xdocs/changes.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/changelog/xdocs/changes.xml?rev=386392&r1=386391&r2=386392&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/changelog/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/changelog/xdocs/changes.xml Thu Mar 16 09:27:23 2006
@@ -25,6 +25,7 @@
</properties>
<body>
<release version="1.9.1-SNAPSHOT" date="in SVN">
+ <action dev="ltheussl" type="fix" issue="MPCHANGELOG-83">NullPointerException if developer's id is missing.</action>
<action dev="ltheussl" type="fix" issue="MPCHANGELOG-75">Replace netbeans's cvslib-3.6 by cvsclient-20051129.</action>
</release>
<release version="1.9" date="2006-01-29">