-
Notifications
You must be signed in to change notification settings - Fork 620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix a lot of issues, add Error Prone, etc. #608
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Running checkstyle
failed with:
com.puppycrawl.tools.checkstyle.api.CheckstyleException: unable to parse configuration stream
Ensure your config file exists and is valid XML.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Running checkstyle
failed with:
com.puppycrawl.tools.checkstyle.api.CheckstyleException: unable to parse configuration stream
Ensure your config file exists and is valid XML.
ErrorProne says this has surprising behavior, so make it less surprising by accepting empty strings!
e.printStackTrace() is not great on Android since it does not have all the nice properties of Log.
Though I am not sure if it is intended.
Perhaps the last one for a while?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Running checkstyle
failed with:
com.puppycrawl.tools.checkstyle.api.CheckstyleException: unable to parse configuration stream
Ensure your config file exists and is valid XML.
As long as you're doing all this... why are .iml files and .idea files being tracked at all? Probably should remove tracking from every file inside .idea and *.iml. In other words, git rm:
and then modify .gitignore to add:
|
It holds the code style settings among other things. |
I think anything in .idea/ is regenerated/overwritten as-needed by Android Studio (the gradle build scripts) Delete it and it will all be recreated. The iml files may be needed though, but I thought they would be recreated too. Maybe not (?) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Running checkstyle
failed with:
com.puppycrawl.tools.checkstyle.api.CheckstyleException: unable to parse configuration stream
Ensure your config file exists and is valid XML.
No description provided.