Skip to content

Commit 5af3056

Browse files
author
duke
committed
Backport 833ff29983e0d433ccd4c7e946b15e42045faeaa
1 parent 4fea31e commit 5af3056

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
@@ -157,7 +157,7 @@
157157
* <li>the title of the instruction UI,</li>
158158
* <li>the timeout of the test,</li>
159159
* <li>the size of the instruction UI via rows and columns, and</li>
160-
* <li>to add a log area</li>,
160+
* <li>to add a log area,</li>
161161
* <li>to enable screenshots.</li>
162162
* </ul>
163163
*/
@@ -1109,9 +1109,10 @@ public static void forceFail(String reason) {
11091109

11101110
/**
11111111
* Adds a {@code message} to the log area, if enabled by
1112-
* {@link Builder#logArea()} or {@link Builder#logArea(int)}.
1112+
* {@link Builder#logArea() logArea()} or
1113+
* {@link Builder#logArea(int) logArea(int)}.
11131114
*
1114-
* @param message to log
1115+
* @param message the message to log
11151116
*/
11161117
public static void log(String message) {
11171118
System.out.println("PassFailJFrame: " + message);
@@ -1120,7 +1121,8 @@ public static void log(String message) {
11201121

11211122
/**
11221123
* Clears the log area, if enabled by
1123-
* {@link Builder#logArea()} or {@link Builder#logArea(int)}.
1124+
* {@link Builder#logArea() logArea()} or
1125+
* {@link Builder#logArea(int) logArea(int)}.
11241126
*/
11251127
public static void logClear() {
11261128
System.out.println("\nPassFailJFrame: log cleared\n");
@@ -1129,7 +1131,9 @@ public static void logClear() {
11291131

11301132
/**
11311133
* Replaces the log area content with provided {@code text}, if enabled by
1132-
* {@link Builder#logArea()} or {@link Builder#logArea(int)}.
1134+
* {@link Builder#logArea() logArea()} or
1135+
* {@link Builder#logArea(int) logArea(int)}.
1136+
*
11331137
* @param text new text for the log area
11341138
*/
11351139
public static void logSet(String text) {

0 commit comments

Comments
 (0)