Skip to content

Commit 390b205

Browse files
committedDec 17, 2024
8346048: test/lib/containers/docker/DockerRunOptions.java uses addJavaOpts() from ctor
Reviewed-by: dholmes
1 parent 03821d9 commit 390b205

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎test/lib/jdk/test/lib/containers/docker/DockerRunOptions.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -65,22 +65,22 @@ public DockerRunOptions(String imageNameAndTag, String javaCmd,
6565
this.addJavaOpts("-XX:+ErrorFileToStderr");
6666
}
6767

68-
public DockerRunOptions addDockerOpts(String... opts) {
68+
public final DockerRunOptions addDockerOpts(String... opts) {
6969
Collections.addAll(dockerOpts, opts);
7070
return this;
7171
}
7272

73-
public DockerRunOptions addJavaOpts(String... opts) {
73+
public final DockerRunOptions addJavaOpts(String... opts) {
7474
Collections.addAll(javaOpts, opts);
7575
return this;
7676
}
7777

78-
public DockerRunOptions addJavaOptsAppended(String... opts) {
78+
public final DockerRunOptions addJavaOptsAppended(String... opts) {
7979
Collections.addAll(javaOptsAppended, opts);
8080
return this;
8181
}
8282

83-
public DockerRunOptions addClassOptions(String... opts) {
83+
public final DockerRunOptions addClassOptions(String... opts) {
8484
Collections.addAll(classParams,opts);
8585
return this;
8686
}

0 commit comments

Comments
 (0)
Please sign in to comment.