File tree Expand file tree Collapse file tree 4 files changed +14
-3
lines changed
java/src/org/openqa/selenium/interactions Expand file tree Collapse file tree 4 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 1919
2020import java .util .ArrayList ;
2121import java .util .List ;
22+ import org .jspecify .annotations .NullMarked ;
2223import org .openqa .selenium .internal .Require ;
2324
2425/** An action for aggregating actions and triggering all of them at the same time. */
26+ @ NullMarked
2527public class CompositeAction implements Action {
2628
2729 private final List <Action > actionsList = new ArrayList <>();
Original file line number Diff line number Diff line change 1717
1818package org .openqa .selenium .interactions ;
1919
20+ import org .jspecify .annotations .NullMarked ;
21+
2022/**
2123 * Used as the basis of {@link Sequence}s for the W3C WebDriver spec <a
2224 * href="https://www.w3.org/TR/webdriver/#actions">Action commands</a>.
2325 */
26+ @ NullMarked
2427public abstract class Interaction {
2528
2629 private final InputSource source ;
Original file line number Diff line number Diff line change 1717
1818package org .openqa .selenium .interactions ;
1919
20+ import org .jspecify .annotations .NullMarked ;
21+
22+ @ NullMarked
2023public interface Locatable {
2124 Coordinates getCoordinates ();
2225}
Original file line number Diff line number Diff line change 1717
1818package org .openqa .selenium .interactions ;
1919
20+ import org .jspecify .annotations .NullMarked ;
21+ import org .jspecify .annotations .Nullable ;
2022import org .openqa .selenium .WebDriverException ;
2123
2224/**
2325 * Indicates that the target provided to the actions move() method is invalid - outside of the size
2426 * of the window.
2527 */
28+ @ NullMarked
2629public class MoveTargetOutOfBoundsException extends WebDriverException {
27- public MoveTargetOutOfBoundsException (String message ) {
30+ public MoveTargetOutOfBoundsException (@ Nullable String message ) {
2831 super (message );
2932 }
3033
31- public MoveTargetOutOfBoundsException (Throwable cause ) {
34+ public MoveTargetOutOfBoundsException (@ Nullable Throwable cause ) {
3235 super (cause );
3336 }
3437
35- public MoveTargetOutOfBoundsException (String message , Throwable cause ) {
38+ public MoveTargetOutOfBoundsException (@ Nullable String message , @ Nullable Throwable cause ) {
3639 super (message , cause );
3740 }
3841}
You can’t perform that action at this time.
0 commit comments