Skip to content

Minor code hygiene suggestions#446

Merged
domesticmouse merged 6 commits intogooglemaps:masterfrom
apjanke:minor-code-hygiene-stuff
Jul 1, 2018
Merged

Minor code hygiene suggestions#446
domesticmouse merged 6 commits intogooglemaps:masterfrom
apjanke:minor-code-hygiene-stuff

Conversation

@apjanke
Copy link
Copy Markdown
Contributor

@apjanke apjanke commented Jun 30, 2018

This PR contains some suggestions for minor code hygiene changes. No behavior changes; just refactoring, mostly to use newer post-Java-1.5 stuff.

  • Removes unnecessary explicit primitive value boxing
  • Uses the diamond operator for parameterized type inference where possible
  • Removes redundant static and final modifiers
  • Removes a couple unnecessary pieces of syntax

This PR is split up into separate commits for each type of change, to make review easier.

@domesticmouse domesticmouse merged commit f1192a9 into googlemaps:master Jul 1, 2018
@apjanke apjanke deleted the minor-code-hygiene-stuff branch July 1, 2018 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants