You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2020/08/24 12:20:14 UTC
[maven-shared-utils] 01/01: fix JavaDoc typos
This is an automated email from the ASF dual-hosted git repository.
elharo pushed a commit to branch MSHARED-954
in repository https://gitbox.apache.org/repos/asf/maven-shared-utils.git
commit 5254928830a3fded8cc98645ab77cb14d8dd556e
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Mon Aug 24 08:19:57 2020 -0400
fix JavaDoc typos
---
src/main/java/org/apache/maven/shared/utils/StringUtils.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/apache/maven/shared/utils/StringUtils.java b/src/main/java/org/apache/maven/shared/utils/StringUtils.java
index b0906e0..3b33d5a 100644
--- a/src/main/java/org/apache/maven/shared/utils/StringUtils.java
+++ b/src/main/java/org/apache/maven/shared/utils/StringUtils.java
@@ -2406,7 +2406,7 @@ public class StringUtils
* @deprecated this method produces platform dependent code and contributes to
* non-reproducible builds. In the context of Maven, this is almost never what's needed.
* Remove calls to this method and do not replace them. That is, change
- * {@code Stringutils.unifyLineSeparators(s)} with simply {@code s}.
+ * {@code Stringutils.unifyLineSeparators(s)} to simply {@code s}.
*/
@Deprecated
public static String unifyLineSeparators( @Nullable String s )
@@ -2419,9 +2419,9 @@ public class StringUtils
* '\n', '\r' and '\r\n' with the system line separator.
*
* @param s a not null String
- * @param ls the wanted line separator ("\n" on UNIX), if null using the System line separator.
+ * @param ls the wanted line separator ("\n" on UNIX), if null using the System line separator
* @return a String that contains only System line separators
- * @throws IllegalArgumentException if ls is not '\n', '\r' and '\r\n' characters.
+ * @throws IllegalArgumentException if s is not '\n', '\r' or "\r\n"
*
*/
public static String unifyLineSeparators( @Nullable String s, @Nullable String ls )