merge from tag maven-2.0, rev 326248

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@326250 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-10-18 21:16:22 +00:00
parent d84c677a90
commit 925b341c17
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ public final class DiagnosisUtils
{
String rootMsg = root.getMessage();
if ( rootMsg != null && error.getMessage().indexOf( rootMsg ) < 0 )
if ( rootMsg != null && ( error.getMessage() == null || error.getMessage().indexOf( rootMsg ) < 0 ) )
{
message.append( "\n" ).append( rootMsg );