1a465cb58225d17ee045c7e79641fcec995a3c9d
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private promoteBoolean(mask int) : int renamed to private promoteBooleanMask(mask int) : int in class com.google.javascript.jscomp.newtypes.JSType | From | To | |
Rename Variable | 2 | ||
Rename Variable e : EnumType to otherMember : JSType in method package unifyWithSubtype(other JSType, typeParameters List<String>, typeMultimap Multimap<String,JSType>, subSuperMap SubtypeCache) : boolean in class com.google.javascript.jscomp.newtypes.JSType | From | To | |
Rename Variable ununifiedEnums : Set<EnumType> to leftovers : HashSet<JSType> in method package unifyWithSubtype(other JSType, typeParameters List<String>, typeMultimap Multimap<String,JSType>, subSuperMap SubtypeCache) : boolean in class com.google.javascript.jscomp.newtypes.JSType | From | To | |
Change Return Type | 1 | ||
Change Return Type Iterable<TypeI> to Iterable<JSType> in method public getUnionMembers() : Iterable<JSType> in class com.google.javascript.jscomp.newtypes.JSType | From | To | |
Change Variable Type | 3 | ||
Change Variable Type builder : ImmutableSet.Builder<TypeI> to builder : ImmutableSet.Builder<JSType> in method public getUnionMembers() : Iterable<JSType> in class com.google.javascript.jscomp.newtypes.JSType | From | To | |
Change Variable Type e : EnumType to otherMember : JSType in method package unifyWithSubtype(other JSType, typeParameters List<String>, typeMultimap Multimap<String,JSType>, subSuperMap SubtypeCache) : boolean in class com.google.javascript.jscomp.newtypes.JSType | From | To | |
Change Variable Type ununifiedEnums : Set<EnumType> to leftovers : HashSet<JSType> in method package unifyWithSubtype(other JSType, typeParameters List<String>, typeMultimap Multimap<String,JSType>, subSuperMap SubtypeCache) : boolean in class com.google.javascript.jscomp.newtypes.JSType | From | To | |
Extract Variable | 1 | ||
Extract Variable thisTypevar : String in method package unifyWithSubtype(other JSType, typeParameters List<String>, typeMultimap Multimap<String,JSType>, subSuperMap SubtypeCache) : boolean from class com.google.javascript.jscomp.newtypes.JSType | From | To | |
Extract Method | 2 | ||
Extract Method package joinManyTypes(commonTypes JSTypes, types Iterable<JSType>) : JSType extracted from public getGreatestSubtypeWithProperty(pname String) : TypeI in class com.google.javascript.jscomp.newtypes.JSType | From | To | |
Extract Method private promoteBoolean() : JSType extracted from package unifyWithSubtype(other JSType, typeParameters List<String>, typeMultimap Multimap<String,JSType>, subSuperMap SubtypeCache) : boolean in class com.google.javascript.jscomp.newtypes.JSType | From | To |