commit | 2b97db470c6419fe4f15daf091789bba251ec437 | [log] [tgz] |
---|---|---|
author | estevenson <estevenson@chromium.org> | Tue Dec 13 17:50:21 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Dec 13 17:52:36 2016 |
tree | aac9f39d87f29342ecceda5f2e1be72cca0f5766 | |
parent | 6e36b463913efcea94e14a2de86caff388351290 [diff] |
Remove redundant field initialization in Java code. Leaving fields uninitialized results in fewer compiled bytes than initializing fields to default values. This CL shrinks the uncompressed size of classes.dex by 8.6 kb for proguarded chrome_public_apk. Change was made with Android Studio (Analyze > Run inspection by name > Redundant field initialization), and fixes all instances in projects currently generated by build/android/gradle/generate_gradle.py. NOPRESUBMIT=true BUG=670001 Review-Url: https://codereview.chromium.org/2548013002 Cr-Commit-Position: refs/heads/master@{#438216}