Skip to content

Commit bd4c65d

Browse files
committed
8340461: Amend description for logArea
Backport-of: 833ff29983e0d433ccd4c7e946b15e42045faeaa
1 parent 17f35ba commit bd4c65d

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
@@ -159,7 +159,7 @@
159159
* <li>the title of the instruction UI,</li>
160160
* <li>the timeout of the test,</li>
161161
* <li>the size of the instruction UI via rows and columns, and</li>
162-
* <li>to add a log area</li>,
162+
* <li>to add a log area,</li>
163163
* <li>to enable screenshots.</li>
164164
* </ul>
165165
*/
@@ -1113,9 +1113,10 @@ public static void forceFail(String reason) {
11131113

11141114
/**
11151115
* Adds a {@code message} to the log area, if enabled by
1116-
* {@link Builder#logArea()} or {@link Builder#logArea(int)}.
1116+
* {@link Builder#logArea() logArea()} or
1117+
* {@link Builder#logArea(int) logArea(int)}.
11171118
*
1118-
* @param message to log
1119+
* @param message the message to log
11191120
*/
11201121
public static void log(String message) {
11211122
System.out.println("PassFailJFrame: " + message);
@@ -1124,7 +1125,8 @@ public static void log(String message) {
11241125

11251126
/**
11261127
* Clears the log area, if enabled by
1127-
* {@link Builder#logArea()} or {@link Builder#logArea(int)}.
1128+
* {@link Builder#logArea() logArea()} or
1129+
* {@link Builder#logArea(int) logArea(int)}.
11281130
*/
11291131
public static void logClear() {
11301132
System.out.println("\nPassFailJFrame: log cleared\n");
@@ -1133,7 +1135,9 @@ public static void logClear() {
11331135

11341136
/**
11351137
* Replaces the log area content with provided {@code text}, if enabled by
1136-
* {@link Builder#logArea()} or {@link Builder#logArea(int)}.
1138+
* {@link Builder#logArea() logArea()} or
1139+
* {@link Builder#logArea(int) logArea(int)}.
1140+
*
11371141
* @param text new text for the log area
11381142
*/
11391143
public static void logSet(String text) {

0 commit comments

Comments
 (0)