Closed agilob closed 8 years ago
The second commit doesn't change functionality, it's just a re-write using StringBuffer which was there before. I don't know why it was removed. Disk I/O operations are more expensive than caching string in memory, so I reverted the change to StringBuilder and it writes stuff after each operation, flushes buffer to avoid corrupted data files. All other changes are code formatting to make it easier to read, personally I don't like tabs, spaces are much more flexible.
Use of //@formatter:off / //@formatter:on
disables Eclipse and IDEA source code formatter in the block to prevent automated changes there.
Don't merge it yet, I need to test it first, if you can test it please.
Uupps.. Was too fast on merging..
@wish7code Take of server, I'll do the app ;)
IDK AndroidStudio made this change.