Skip to content

Commit

Permalink
fix javadoc for internal/Utils.java
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad8x8 authored Jul 9, 2024
1 parent 0f779fe commit a9b68b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testng-core-api/src/main/java/org/testng/internal/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public static boolean isStringNotEmpty(String s) {
*
* @param t - The {@link Throwable} exception
* @param toHtml - <code>true</code> if the stacktrace should be translated to html as well
* @return - A string that represents the short stack trace.
* @return - A string that represents the full stack trace.
*/
public static String longStackTrace(Throwable t, boolean toHtml) {
return buildStackTrace(t, toHtml, StackTraceType.FULL);
Expand All @@ -322,7 +322,7 @@ public static String longStackTrace(Throwable t, boolean toHtml) {
*
* @param t - The {@link Throwable} exception
* @param toHtml - <code>true</code> if the stacktrace should be translated to html as well
* @return - A string that represents the full stack trace.
* @return - A string that represents the short stack trace.
*/
public static String shortStackTrace(Throwable t, boolean toHtml) {
return buildStackTrace(t, toHtml, StackTraceType.SHORT);
Expand Down

0 comments on commit a9b68b6

Please sign in to comment.