5df0fa2dad776bc4c574cfcb9d8b9f557fdd86fc
Files Diff
- Added: 2
- Removed: 2
- Renamed: 0
- Modified: 10
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method private checkRedundantWarning(js String) : void renamed to private checkWarning(js String) : void in class com.google.javascript.jscomp.lint.CheckRedundantNullabilityModifierTest | From | To | |
| Rename Variable | 3 | ||
| Rename Variable isNewOrThis : boolean to isRedundantModifierAllowed : boolean in method private checkTypeExpression(t NodeTraversal, expr JSTypeExpression, isTopLevelBangAllowed boolean) : void in class com.google.javascript.jscomp.lint.CheckRedundantNullabilityModifier | From | To | |
| Rename Variable isPrimitiveOrLiteral : boolean to isModifierRedundant : boolean in method private checkTypeExpression(t NodeTraversal, expr JSTypeExpression, isTopLevelBangAllowed boolean) : void in class com.google.javascript.jscomp.lint.CheckRedundantNullabilityModifier | From | To | |
| Rename Variable hasBang : boolean to grandparent : Node in method private checkTypeExpression(t NodeTraversal, expr JSTypeExpression, isTopLevelBangAllowed boolean) : void in class com.google.javascript.jscomp.lint.CheckRedundantNullabilityModifier | From | To | |
| Inline Method | 1 | ||
| Inline Method private isFunctionLiteral(node Node) : boolean inlined to private checkTypeExpression(t NodeTraversal, expr JSTypeExpression, isTopLevelBangAllowed boolean) : void in class com.google.javascript.jscomp.lint.CheckRedundantNullabilityModifier | From | To | |
| Rename Class | 2 | ||
| Rename Class com.google.javascript.jscomp.lint.CheckNullabilityModifiers renamed to com.google.javascript.jscomp.lint.CheckRedundantNullabilityModifier | From | To | |
| Rename Class com.google.javascript.jscomp.lint.CheckNullabilityModifiersTest renamed to com.google.javascript.jscomp.lint.CheckRedundantNullabilityModifierTest | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type hasBang : boolean to grandparent : Node in method private checkTypeExpression(t NodeTraversal, expr JSTypeExpression, isTopLevelBangAllowed boolean) : void in class com.google.javascript.jscomp.lint.CheckRedundantNullabilityModifier | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter hasArtificialTopLevelBang : boolean to isTopLevelBangAllowed : boolean in method private checkTypeExpression(t NodeTraversal, expr JSTypeExpression, isTopLevelBangAllowed boolean) : void in class com.google.javascript.jscomp.lint.CheckRedundantNullabilityModifier | From | To |