Skip to content

Commit 7347d0a

Browse files
committed
Rollback SourceType#NONE
1 parent c118709 commit 7347d0a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

java/src/org/openqa/selenium/interactions/SourceType.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,23 @@
1818
package org.openqa.selenium.interactions;
1919

2020
import org.jspecify.annotations.NullMarked;
21+
import org.jspecify.annotations.Nullable;
2122

2223
/** One of the allowing types for an {@link InputSource}. */
2324
@NullMarked
2425
public enum SourceType {
2526
KEY("key"),
26-
NONE("none"),
27+
NONE(null),
2728
POINTER("pointer"),
2829
WHEEL("wheel");
2930

30-
private final String type;
31+
private final @Nullable String type;
3132

32-
SourceType(String type) {
33+
SourceType(@Nullable String type) {
3334
this.type = type;
3435
}
3536

36-
public String getType() {
37+
public @Nullable String getType() {
3738
return type;
3839
}
3940
}

0 commit comments

Comments
 (0)