Skip to content

Commit d673c17

Browse files
author
duke
committed
Backport 833ff29983e0d433ccd4c7e946b15e42045faeaa
1 parent 9da2208 commit d673c17

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

test/jdk/java/awt/regtesthelpers/PassFailJFrame.java

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
* <li>the title of the instruction UI,</li>
159159
* <li>the timeout of the test,</li>
160160
* <li>the size of the instruction UI via rows and columns, and</li>
161-
* <li>to add a log area</li>,
161+
* <li>to add a log area,</li>
162162
* <li>to enable screenshots.</li>
163163
* </ul>
164164
*/
@@ -1111,9 +1111,10 @@ public static void forceFail(String reason) {
11111111

11121112
/**
11131113
* Adds a {@code message} to the log area, if enabled by
1114-
* {@link Builder#logArea()} or {@link Builder#logArea(int)}.
1114+
* {@link Builder#logArea() logArea()} or
1115+
* {@link Builder#logArea(int) logArea(int)}.
11151116
*
1116-
* @param message to log
1117+
* @param message the message to log
11171118
*/
11181119
public static void log(String message) {
11191120
System.out.println("PassFailJFrame: " + message);
@@ -1122,7 +1123,8 @@ public static void log(String message) {
11221123

11231124
/**
11241125
* Clears the log area, if enabled by
1125-
* {@link Builder#logArea()} or {@link Builder#logArea(int)}.
1126+
* {@link Builder#logArea() logArea()} or
1127+
* {@link Builder#logArea(int) logArea(int)}.
11261128
*/
11271129
public static void logClear() {
11281130
System.out.println("\nPassFailJFrame: log cleared\n");
@@ -1131,7 +1133,9 @@ public static void logClear() {
11311133

11321134
/**
11331135
* Replaces the log area content with provided {@code text}, if enabled by
1134-
* {@link Builder#logArea()} or {@link Builder#logArea(int)}.
1136+
* {@link Builder#logArea() logArea()} or
1137+
* {@link Builder#logArea(int) logArea(int)}.
1138+
*
11351139
* @param text new text for the log area
11361140
*/
11371141
public static void logSet(String text) {

0 commit comments

Comments
 (0)