Skip to content

Commit 43fc198

Browse files
committed
Reapply "[java] JSpecify annotations for wrappers (SeleniumHQ#14396)"
This reverts commit cce9b94.
1 parent e0679f4 commit 43fc198

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Diff for: java/src/org/openqa/selenium/WrapsDriver.java

+3
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,13 @@
1717

1818
package org.openqa.selenium;
1919

20+
import org.jspecify.annotations.NullMarked;
21+
2022
/**
2123
* This interface indicates that the implementing class knows about the driver that contains it and
2224
* can export it.
2325
*/
26+
@NullMarked
2427
@FunctionalInterface
2528
public interface WrapsDriver {
2629
/**

Diff for: java/src/org/openqa/selenium/WrapsElement.java

+3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717

1818
package org.openqa.selenium;
1919

20+
import org.jspecify.annotations.NullMarked;
21+
2022
/** Indicates that there is an underlying element that can be used */
23+
@NullMarked
2124
@FunctionalInterface
2225
public interface WrapsElement {
2326
WebElement getWrappedElement();

0 commit comments

Comments
 (0)