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.
This commit is contained in:
Allon Mureinik 2017-07-01 14:50:41 +03:00 committed by pascalschumacher
parent 5f0d812757
commit a37d19eb45
1 changed files with 1 additions and 1 deletions

View File

@ -605,7 +605,7 @@ public static String[] getStackFrames(final Throwable throwable) {
/**
* <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