You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2018/09/30 08:49:59 UTC

[maven] branch fix/log-typo created (now 14cd39c)

This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a change to branch fix/log-typo
in repository https://gitbox.apache.org/repos/asf/maven.git.


      at 14cd39c  Fixed typo in exception logging LegacyRepositorySystem

This branch includes the following new commits:

     new 14cd39c  Fixed typo in exception logging LegacyRepositorySystem

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven] 01/01: Fixed typo in exception logging LegacyRepositorySystem

Posted by sl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch fix/log-typo
in repository https://gitbox.apache.org/repos/asf/maven.git

commit 14cd39c4f83f528328eb1dbfb9581311f1437559
Author: Sylwester Lachiewicz <sl...@gmail.com>
AuthorDate: Sun Jun 10 17:41:24 2018 +0200

    Fixed typo in exception logging LegacyRepositorySystem
---
 .../org/apache/maven/repository/legacy/LegacyRepositorySystem.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 0acab4f..e3e7781 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 class LegacyRepositorySystem
             // 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 class LegacyRepositorySystem
             // 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;
         }