Skip to content

Commit

Permalink
#102 FIX: working on code style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
TikhomirovSergey committed Nov 25, 2017
1 parent dacddb8 commit 13b7c36
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/main/java/io/appium/java_client/MultiTouchAction.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,9 @@ public MultiTouchAction perform() {
"MultiTouch action must have at least one TouchAction added before it can be performed");
if (touchActions.size() > 1) {
performsTouchActions.performMultiTouchAction(this);
} else {
//android doesn't like having multi-touch actions with only a single TouchAction...
performsTouchActions.performTouchAction(touchActions.get(0));
}
return this;
} //android doesn't like having multi-touch actions with only a single TouchAction...
performsTouchActions.performTouchAction(touchActions.get(0));
return this;
}

Expand Down

0 comments on commit 13b7c36

Please sign in to comment.