Skip to content

Commit a9b68b6

Browse files
authored
fix javadoc for internal/Utils.java
1 parent 0f779fe commit a9b68b6

File tree

1 file changed

+2
-2
lines changed
  • testng-core-api/src/main/java/org/testng/internal

1 file changed

+2
-2
lines changed

testng-core-api/src/main/java/org/testng/internal/Utils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)