Skip to content

Commit

Permalink
Mark direction and uiobject as final
Browse files Browse the repository at this point in the history
  • Loading branch information
dshiroma committed Jul 24, 2024
1 parent 9248690 commit 0b0a846
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,8 @@ public boolean scroll(
@RpcOptional Integer gestureMargin,
@RpcOptional Integer gestureMarginPercent)
throws SelectorException {
Direction direction = Direction.valueOf(directionStr);
UiObject2 uiObject2 = selector.toUiObject2();
final Direction direction = Direction.valueOf(directionStr);
final UiObject2 uiObject2 = selector.toUiObject2();
if (uiObject2 == null) {
return false;
}
Expand Down

0 comments on commit 0b0a846

Please sign in to comment.