Skip to content

Commit

Permalink
Change 'Boolean' to 'boolean' in RemoveUnusedClassProperties.
Browse files Browse the repository at this point in the history
The variable in question can never be null, so boxing is completely unnecessary.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=177275858
  • Loading branch information
shicks authored and brad4d committed Nov 29, 2017
1 parent 628ee1b commit bee771f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -86,7 +86,7 @@ private void removeUnused() {
* In some cases the parent of GETPROP is an EXPRRESULT, while the replacement is always
* just a plain expression.
*/
Boolean replaceParent = true;
boolean replaceParent = true;
if (NodeUtil.isLhsByDestructuring(n)) {
if (parent.isStringKey()) {
// Remove the entire object-key entry
Expand Down

0 comments on commit bee771f

Please sign in to comment.