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

elharo pushed a commit to branch info
in repository https://gitbox.apache.org/repos/asf/maven-dependency-plugin.git

commit 1716c1335c16d5ee66cc8a6fc9b3f9fafd4ab5c1
Author: Elliotte Rusty Harold <elh...@ibiblio.org>
AuthorDate: Fri Oct 18 07:57:07 2024 -0400

    Elaborate on DependencyUtil.log in doc comment
---
 .../org/apache/maven/plugins/dependency/utils/DependencyUtil.java   | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/maven/plugins/dependency/utils/DependencyUtil.java 
b/src/main/java/org/apache/maven/plugins/dependency/utils/DependencyUtil.java
index 2de653dc..90af1fd2 100644
--- 
a/src/main/java/org/apache/maven/plugins/dependency/utils/DependencyUtil.java
+++ 
b/src/main/java/org/apache/maven/plugins/dependency/utils/DependencyUtil.java
@@ -242,7 +242,11 @@ public final class DependencyUtil {
     }
 
     /**
-     * Writes the specified string to the log at info level.
+     * Writes each line in the specified string to the log at info level.
+     * The difference between calling
+     * {@code DependencyUtil.log(s, log)} and {@code log.indfo(s)} is that the 
latter
+     * will put "[INFO]" in front of each line in the string whereas the 
former only
+     * outputs it once at the front of the string.
      *
      * @param string the string to write
      * @param log where to log information

Reply via email to