PR: MPCHANGELOG-66

Avoid NPE for plugins not specifying a type of change set to use


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@190391 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
brett
2005-06-13 12:43:04 +00:00
parent 155506715e
commit 87561a5003
2 changed files with 5 additions and 0 deletions

View File

@@ -158,6 +158,10 @@ public class ChangeLog
*/
public String getType()
{
if ( type == null )
{
type = "range";
}
return type;
}

View File

@@ -26,6 +26,7 @@
</properties>
<body>
<release version="1.8.2-SNAPSHOT" date="in Subversion">
<action dev="brett" type="fix" issue="MPCHANGELOG-66">Avoid NullPointerException when no type is given</action>
<action dev="brett" type="fix" issue="MPCHANGELOG-65" due-to="Fuad Efendi">Corrected parsing of VSS results</action>
<action dev="epugh" type="fix" issue="MPCHANGELOG-64">Corrected parsing of .cvspass</action>
</release>