avoid NPE
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@178142 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ad5a66bf61
commit
743df08416
@ -420,8 +420,13 @@ public class ChangeLog
|
|||||||
generator.cleanup();
|
generator.cleanup();
|
||||||
parser.cleanup();
|
parser.cleanup();
|
||||||
}
|
}
|
||||||
|
|
||||||
sets.add(new ChangeLogSet(entries, logStart, logEnd));
|
if ( entries == null )
|
||||||
|
{
|
||||||
|
entries = Collections.EMPTY_LIST;
|
||||||
|
}
|
||||||
|
|
||||||
|
sets.add(new ChangeLogSet(entries, logStart, logEnd));
|
||||||
if (LOG.isInfoEnabled()) {
|
if (LOG.isInfoEnabled()) {
|
||||||
LOG.info("ChangeSet between " + logStart + " and " + logEnd + ": "
|
LOG.info("ChangeSet between " + logStart + " and " + logEnd + ": "
|
||||||
+ entries.size() + " entries");
|
+ entries.size() + " entries");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user