Skip to content

Commit

Permalink
Fix javadoc for internal/Utils.java (#3148)
Browse files Browse the repository at this point in the history
* fix javadoc for internal/Utils.java
  • Loading branch information
vlad8x8 committed Jul 10, 2024
1 parent 0f779fe commit 9f15aad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@
String expectedExceptionsMessageRegExp() default ".*";

/**
* The name of the suite this test class should be placed in. This attribute is ignored if @Test is
* not at the class level.
* The name of the suite this test class should be placed in. This attribute is ignored if @Test
* is not at the class level.
*
* @return the value (default empty)
*/
Expand Down
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 9f15aad

Please sign in to comment.