Skip to content

Commit

Permalink
Add TouchAction contractor argument verification
Browse files Browse the repository at this point in the history
  • Loading branch information
Mykola Mokhnach authored and SrinivasanTarget committed May 31, 2018
1 parent 95f0964 commit e33f31c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/appium/java_client/TouchAction.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public class TouchAction<T extends TouchAction<T>> implements PerformsActions<T>
private PerformsTouchActions performsTouchActions;

public TouchAction(PerformsTouchActions performsTouchActions) {
this.performsTouchActions = performsTouchActions;
this.performsTouchActions = checkNotNull(performsTouchActions);
parameterBuilder = builder();
}

Expand Down

0 comments on commit e33f31c

Please sign in to comment.