commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pascalschumac...@apache.org
Subject [lang] Fix ExceptionUtils#getStackFrame(String) javadoc (closes #274)
Date Sun, 02 Jul 2017 14:58:08 GMT
Repository: commons-lang
Updated Branches:
  refs/heads/master 5f0d81275 -> a37d19eb4


Fix ExceptionUtils#getStackFrame(String) javadoc (closes #274)

ExceptionUtils#getStackFrame(String)'s javadoc contains a broken
reference to SystemUtils#LINE_SEPARATOR (as the class name is not
fully qualified, and there's no import of
org.apache.commons.lang3.SystemUtils).

This patch fixes the broken reference by replacing it it with a
reference to System#lineSeparator(), which the method actually uses.


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

Branch: refs/heads/master
Commit: a37d19eb45d76cd6ab4e2c8fa9fc156bf7be97db
Parents: 5f0d812
Author: Allon Mureinik <amureini@redhat.com>
Authored: Sat Jul 1 14:50:41 2017 +0300
Committer: pascalschumacher <pascalschumacher@gmx.net>
Committed: Sun Jul 2 16:58:02 2017 +0200

----------------------------------------------------------------------
 .../java/org/apache/commons/lang3/exception/ExceptionUtils.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/a37d19eb/src/main/java/org/apache/commons/lang3/exception/ExceptionUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/lang3/exception/ExceptionUtils.java b/src/main/java/org/apache/commons/lang3/exception/ExceptionUtils.java
index 0318512..8fc750b 100644
--- a/src/main/java/org/apache/commons/lang3/exception/ExceptionUtils.java
+++ b/src/main/java/org/apache/commons/lang3/exception/ExceptionUtils.java
@@ -605,7 +605,7 @@ public class ExceptionUtils {
     /**
      * <p>Returns an array where each element is a line from the argument.</p>
      *
-     * <p>The end of line is determined by the value of {@link SystemUtils#LINE_SEPARATOR}.</p>
+     * <p>The end of line is determined by the value of {@link System#lineSeparator()}.</p>
      *
      * @param stackTrace  a stack trace String
      * @return an array where each element is a line from the argument


Mime
View raw message