[MNG-6081] Log refactoring - Method Invocation Replaced By Variable

Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/a2358ba7
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/a2358ba7
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/a2358ba7

Branch: refs/heads/master
Commit: a2358ba7bb9b5b8ccb4ca2b6ea66b637b88d6c09
Parents: 5053a62
Author: Nemo Chen <chen...@gmail.com>
Authored: Fri Oct 21 22:36:41 2016 +0200
Committer: Michael Osipov <micha...@apache.org>
Committed: Sun Jan 22 21:37:57 2017 +0100

----------------------------------------------------------------------
 .../apache/maven/artifact/resolver/DebugResolutionListener.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/a2358ba7/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java
----------------------------------------------------------------------
diff --git 
a/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java
 
b/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java
index 43806b1..bd1ed9a 100644
--- 
a/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java
+++ 
b/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java
@@ -71,7 +71,7 @@ public class DebugResolutionListener
 
         if ( omittedVersion != null ? !omittedVersion.equals( keptVersion ) : 
keptVersion != null )
         {
-            logger.debug( indent + omitted + " (removed - nearer found: " + 
kept.getVersion() + ")" );
+            logger.debug( indent + omitted + " (removed - nearer found: " + 
keptVersion + ")" );
         }
     }
 
@@ -164,4 +164,4 @@ public class DebugResolutionListener
         }
     }
 
-}
\ No newline at end of file
+}

Reply via email to