code formatting and optimze imports
I noticed that some files use tabs and some use spaces, also there is a lot of inconsistency in code formatting. I ran the automatic code formatting tool in IDEA for this PR. This could be hard to merge and is not very necessary, so I am opening a pull request.
Thoughts on this? or should we wait to enforce code styles after 3.0 is released
Ah, I probably have non-standard IDEA code style configuration contributing to this. We could include a .idea/codeStyles/Project.xml file in git and run Reformat Code (CTRL+ALT+L) using the project code style before any changes to a file is committed. Do you have any preference for tabs vs spaces?
I like that idea and I usually use 4 spaces.