Skip to content

Commit a685b02

Browse files
committed
Rename ForJava9AndLater to ForJava10AndLater to match the actual meaning
Signed-off-by: Sven Strickroth <[email protected]>
1 parent f729a08 commit a685b02

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

java10-shim/src/main/java/org/owasp/shim/ForJava9AndLater.java renamed to java10-shim/src/main/java/org/owasp/shim/ForJava10AndLater.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import java.util.*;
44

55
@SuppressWarnings("Since15") // We're compiling two versions to handle @since problems.
6-
final class ForJava9AndLater extends Java8Shim {
6+
final class ForJava10AndLater extends Java8Shim {
77

88
@Override public <T> List<T> listOf() {
99
return List.of();

java8-shim/src/main/java/org/owasp/shim/Java8Shim.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ public abstract class Java8Shim {
1717
Object _instance;
1818
try {
1919
try {
20-
// This is compiled with -release 1.9 in a separate project.
21-
_instance = Class.forName("org.owasp.shim.ForJava9AndLater").newInstance();
20+
// This is compiled with -release 1.10 in a separate project.
21+
_instance = Class.forName("org.owasp.shim.ForJava10AndLater").newInstance();
2222
} catch (Error e) {
2323
// This is co-located with this project and is a fall-back.
2424
_instance = Class.forName("org.owasp.shim.ForJava8").newInstance();

0 commit comments

Comments
 (0)