File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
testng-core-api/src/main/java/org/testng/internal Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -311,7 +311,7 @@ public static boolean isStringNotEmpty(String s) {
311311 *
312312 * @param t - The {@link Throwable} exception
313313 * @param toHtml - <code>true</code> if the stacktrace should be translated to html as well
314- * @return - A string that represents the short stack trace.
314+ * @return - A string that represents the full stack trace.
315315 */
316316 public static String longStackTrace (Throwable t , boolean toHtml ) {
317317 return buildStackTrace (t , toHtml , StackTraceType .FULL );
@@ -322,7 +322,7 @@ public static String longStackTrace(Throwable t, boolean toHtml) {
322322 *
323323 * @param t - The {@link Throwable} exception
324324 * @param toHtml - <code>true</code> if the stacktrace should be translated to html as well
325- * @return - A string that represents the full stack trace.
325+ * @return - A string that represents the short stack trace.
326326 */
327327 public static String shortStackTrace (Throwable t , boolean toHtml ) {
328328 return buildStackTrace (t , toHtml , StackTraceType .SHORT );
You can’t perform that action at this time.
0 commit comments