d814e5f6a5eb8e06804f00f8667b746af1a7f733
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public remove(compiler AbstractCompiler) : void renamed to public removeInternal(compiler AbstractCompiler) : void in class com.google.javascript.jscomp.RemoveUnusedVars.DestructuringAssign | From | To | |
Rename Method private traverseNode(n Node, parent Node, scope Scope) : void renamed to private traverseDefaultValue(defaultValueNode Node, scope Scope) : void in class com.google.javascript.jscomp.RemoveUnusedVars | From | To | |
Rename Variable | 1 | ||
Rename Variable var : Var to varInfo : VarInfo in method private removeUnreferencedVars() : void in class com.google.javascript.jscomp.RemoveUnusedVars | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable paramVar : Var to var : Var in method private getVarInfo(var Var) : VarInfo in class com.google.javascript.jscomp.RemoveUnusedVars | From | To | |
Rename Attribute | 1 | ||
Rename Attribute assignsByVar : Multimap<Var,Removable> to varInfoMap : Map<Var,VarInfo> in class com.google.javascript.jscomp.RemoveUnusedVars | From | To | |
Change Variable Type | 1 | ||
Change Variable Type var : Var to varInfo : VarInfo in method private removeUnreferencedVars() : void in class com.google.javascript.jscomp.RemoveUnusedVars | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type assignsByVar : Multimap<Var,Removable> to varInfoMap : Map<Var,VarInfo> in class com.google.javascript.jscomp.RemoveUnusedVars | From | To | |
Extract Method | 1 | ||
Extract Method private getVarInfo(var Var) : VarInfo extracted from private traverseNode(n Node, parent Node, scope Scope) : void in class com.google.javascript.jscomp.RemoveUnusedVars | From | To | |
Rename Parameter | 1 | ||
Rename Parameter n : Node to defaultValueNode : Node in method private traverseDefaultValue(defaultValueNode Node, scope Scope) : void in class com.google.javascript.jscomp.RemoveUnusedVars | From | To |