This is an automated email from the ASF dual-hosted git repository. michaelo pushed a commit to branch file-lock in repository https://gitbox.apache.org/repos/asf/maven-resolver.git
commit f5d5620d6c9a94cd0ea3f2090a34a4dc125e8171 Author: Michael Osipov <[email protected]> AuthorDate: Sun Dec 12 20:00:35 2021 +0100 Improve log statements --- .../src/main/java/org/eclipse/aether/named/support/Retry.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/maven-resolver-named-locks/src/main/java/org/eclipse/aether/named/support/Retry.java b/maven-resolver-named-locks/src/main/java/org/eclipse/aether/named/support/Retry.java index 1dec919..ad37b00 100644 --- a/maven-resolver-named-locks/src/main/java/org/eclipse/aether/named/support/Retry.java +++ b/maven-resolver-named-locks/src/main/java/org/eclipse/aether/named/support/Retry.java @@ -68,7 +68,7 @@ public final class Retry result = operation.call(); if ( result == null ) { - LOGGER.trace( "Attempt {}: no result", attempt ); + LOGGER.trace( "Retry attempt {}: no result", attempt ); Thread.sleep( sleepMillis ); } } @@ -78,7 +78,7 @@ public final class Retry } catch ( Exception e ) { - LOGGER.trace( "Attempt {}: operation failure", attempt, e ); + LOGGER.trace( "Retry attempt {}: operation failure", attempt, e ); if ( retryPredicate != null && !retryPredicate.test( e ) ) { throw new IllegalStateException( e ); @@ -89,4 +89,4 @@ public final class Retry } return result == null ? defaultResult : result; } -} \ No newline at end of file +}
