[Android] code cleanup and added some useful javadocs.
Merge pull request #209 from csoroiu/master

[Android] code cleanup and added some useful javadocs
[Java]: Styling.
Merge branch 'master' into jdk6backport(android)