diff --git a/maven-compat/src/main/java/org/apache/maven/project/validation/ModelValidationResult.java b/maven-compat/src/main/java/org/apache/maven/project/validation/ModelValidationResult.java index b41b0b345c..12ead7eae9 100644 --- a/maven-compat/src/main/java/org/apache/maven/project/validation/ModelValidationResult.java +++ b/maven-compat/src/main/java/org/apache/maven/project/validation/ModelValidationResult.java @@ -85,7 +85,7 @@ public class ModelValidationResult // for ( int i = 0; i < messages.size(); i++ ) { - message.append( indentation + "[" + i + "] " + messages.get( i ).toString() + NEWLINE ); + message.append( indentation + "[" + i + "] " + messages.get( i ) + NEWLINE ); } return message.toString();