asfgit closed pull request #170: Fixed typo in exception logging
URL: https://github.com/apache/maven/pull/170
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git
a/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
b/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
index 0acab4f94a..e3e7781208 100644
---
a/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
+++
b/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
@@ -186,7 +186,7 @@ public Artifact createExtensionArtifact( String groupId,
String artifactId, Stri
// MNG-5368: Log a message instead of returning 'null' silently.
this.logger.error( String.format(
"Invalid version specification '%s' creating extension
artifact '%s:%s:%s'.",
- version, groupId, artifactId, version, e ) );
+ version, groupId, artifactId, version ), e );
return null;
}
@@ -217,7 +217,7 @@ public Artifact createPluginArtifact( Plugin plugin )
// MNG-5368: Log a message instead of returning 'null' silently.
this.logger.error( String.format(
"Invalid version specification '%s' creating plugin artifact
'%s'.",
- version, plugin, e ) );
+ version, plugin ), e );
return null;
}
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services