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

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

commit 3c5feba2105743c06d850644fa2d9f7366f86f6d
Author: Elliotte Rusty Harold <elh...@ibiblio.org>
AuthorDate: Fri May 30 07:23:48 2025 -0400

    Fix bad find replace
---
 .../src/main/java/org/apache/maven/wagon/PathUtils.java               | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/wagon-provider-api/src/main/java/org/apache/maven/wagon/PathUtils.java 
b/wagon-provider-api/src/main/java/org/apache/maven/wagon/PathUtils.java
index 998bca05..2df6a546 100644
--- a/wagon-provider-api/src/main/java/org/apache/maven/wagon/PathUtils.java
+++ b/wagon-provider-api/src/main/java/org/apache/maven/wagon/PathUtils.java
@@ -109,7 +109,7 @@ private static String[] split(final String str, final 
String separator, final in
 
     /**
      * Return the host name (Removes protocol and path from the URL) E.g: for 
input
-     * <code>http://www.codehause.org</code> this method will return 
<code>www.apache.org</code>
+     * <code>http://www.apache.org</code> this method will return 
<code>www.apache.org</code>
      *
      * @param url the url
      * @return the host name
@@ -188,7 +188,7 @@ private static int endOfHostPosition(String host, int pos) {
      * Return the protocol name.
      * <br/>
      * E.g: for input
-     * <code>http://www.codehause.org</code> this method will return 
<code>http</code>
+     * <code>http://www.apache.org</code> this method will return 
<code>http</code>
      *
      * @param url the url
      * @return the host name

Reply via email to