Description
Summary:
Irregular indentation in a lot of places in the application files.
In several places, the code-style of the app might not be followed. For example, in some places the following style is used:
if(condition){ }
In some other places the following style is used:
if (condition) { }
We should be using the second type of style since we are following the Google Java Code Style.
In order to fix this, and prevent any future discrepancies, we should consider using the spotless gradle plugin. Once added, on running the spotlessApply
command just once, it will automatically fix the existing faults in the code. And we can also add the check(spotlessCheck
) to Travis so that if while contributing in future commits the style isn't followed, the Travis check won't pass.
This will enhance the maintainability and code style of the app a lot.
Would you like to work on the issue?
Yes.