From a9b68b6555f0583bb78f90f6a743129e5c1aa12a Mon Sep 17 00:00:00 2001
From: Vladislav Velichko <111522705+vlad8x8@users.noreply.github.com>
Date: Tue, 9 Jul 2024 18:20:16 -0400
Subject: [PATCH] fix javadoc for internal/Utils.java
---
testng-core-api/src/main/java/org/testng/internal/Utils.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/testng-core-api/src/main/java/org/testng/internal/Utils.java b/testng-core-api/src/main/java/org/testng/internal/Utils.java
index 174c8ef39..fbcf6cf91 100644
--- a/testng-core-api/src/main/java/org/testng/internal/Utils.java
+++ b/testng-core-api/src/main/java/org/testng/internal/Utils.java
@@ -311,7 +311,7 @@ public static boolean isStringNotEmpty(String s) {
*
* @param t - The {@link Throwable} exception
* @param toHtml - true
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);
@@ -322,7 +322,7 @@ public static String longStackTrace(Throwable t, boolean toHtml) {
*
* @param t - The {@link Throwable} exception
* @param toHtml - true
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);