michael-o commented on a change in pull request #391:
URL: https://github.com/apache/maven/pull/391#discussion_r542017373



##########
File path: 
maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
##########
@@ -1901,8 +1901,9 @@ public Source getSource( String groupId, String 
artifactId )
             }
             return sources.stream().reduce( ( a, b ) ->
             {
-                throw new IllegalStateException( "No unique Source for " + 
groupId + ':' + artifactId
-                        + ": " + a.getLocation() + " and " + b.getLocation() );
+                throw new IllegalStateException( String.format( "No unique 
Source for %s:%s: %s and %s ", 

Review comment:
       There is a trailing WS in the string




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to