You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java-client checks on the client side for missing parameters in MultiTouchAction::perform and throws a custom exception. However, there aren't other checks for valid params. We should check parameters consistently in the client or not at all.
Also, we should probably use Preconditions.checkArgument(foo, msg);, since this is part of the Guava idiom, and add throws IllegalArgumentException to function signatures that assert precondtions.
The text was updated successfully, but these errors were encountered:
java-client checks on the client side for missing parameters in MultiTouchAction::perform and throws a custom exception. However, there aren't other checks for valid params. We should check parameters consistently in the client or not at all.
Also, we should probably use
Preconditions.checkArgument(foo, msg);
, since this is part of the Guava idiom, and addthrows IllegalArgumentException
to function signatures that assert precondtions.The text was updated successfully, but these errors were encountered: