If you are working on this project and use Intellij Idea, you need to change the compiler to the Eclipse compiler instead of the default javac.
If you are using the Eclipse IDE, make sure you are using version Luna or later.
Appium java-client strictly follows Google Java Style as a coding standards. Contributors are requested to follow this by configuring in their IDE's Editor Code style,
- Clone Google Style Guide from git
Intellij IDEA user's can configure this way,
Files -> Other Settings -> Default Settings ->Editor -> Code Style -> Manage -> Manage -> Import -> eclipse-java-google-style.xml (Downloaded from Google Style Guide)-> Apply
Eclipse IDE user's can configure this way,
Preferences -> Java -> Code Style -> Formatter -> Import -> eclipse-java-google-style.xml (Downloaded from Google Style Guide)-> Apply
Reformat your code before raising a Pull Request.
