013c93a407d79d465864c1461091a2e70876fa69
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method public testMinimizeDemorgan20() : void renamed to public testMinimizeDemorgan20a() : void in class com.google.javascript.jscomp.PeepholeMinimizeConditionsTest | From | To | |
Rename Method public testCoercionSubstitution_booleanResult() : void renamed to public testCoercionSubstitution_booleanResult1() : void in class com.google.javascript.jscomp.PeepholeMinimizeConditionsTest | From | To | |
Rename Method private cloneTree() : MeasuredNode renamed to private updateToken(token Token) : MeasuredNode in class com.google.javascript.jscomp.MinimizedCondition.MeasuredNode | From | To | |
Rename Variable | 1 | ||
Rename Variable result : MinimizedCondition to result1 : MinimizedCondition in method private minCond(input String, positive String, negative String) : void in class com.google.javascript.jscomp.MinimizedConditionTest | From | To | |
Change Variable Type | 2 | ||
Change Variable Type mNode : MinimizedCondition.MeasuredNode to mNode : MeasuredNode in method private tryMinimizeHook(n Node) : Node in class com.google.javascript.jscomp.PeepholeMinimizeConditions | From | To | |
Change Variable Type mNode : MinimizedCondition.MeasuredNode to mNode : MeasuredNode in method private tryMinimizeExprResult(n Node) : Node in class com.google.javascript.jscomp.PeepholeMinimizeConditions | From | To | |
Extract Variable | 2 | ||
Extract Variable originalCond : Node in method private tryMinimizeHook(n Node) : Node from class com.google.javascript.jscomp.PeepholeMinimizeConditions | From | To | |
Extract Variable originalExpr : Node in method private tryMinimizeExprResult(n Node) : Node from class com.google.javascript.jscomp.PeepholeMinimizeConditions | From | To | |
Extract Method | 1 | ||
Extract Method private replaceNode(original Node, measuredNodeReplacement MeasuredNode) : Node extracted from private tryMinimizeExprResult(n Node) : Node in class com.google.javascript.jscomp.PeepholeMinimizeConditions | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method private forNode(n Node) : MeasuredNode extracted from private computeMinimizedCondition(n Node) : MinimizedCondition in class com.google.javascript.jscomp.MinimizedCondition & moved to class com.google.javascript.jscomp.MinimizedCondition.MeasuredNode | From | To |