e51b5bd0b6b069d1f6703cd049c4df77f9d78d81
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 3 | ||
Move And Rename Method private resolveJsModuleLegacy(moduleName String, sourcename String, lineno int, colno int) : String from class com.google.javascript.jscomp.deps.ModuleLoader.ModulePath to public resolveJsModule(scriptAddress String, moduleAddress String, sourcename String, lineno int, colno int) : String from class com.google.javascript.jscomp.deps.LegacyModuleResolver | From | To | |
Move And Rename Method private resolveJsModuleFileOrDirectory(moduleAddress String) : String from class com.google.javascript.jscomp.deps.ModuleLoader.ModulePath to public resolveJsModuleFile(scriptAddress String, moduleAddress String) : String from class com.google.javascript.jscomp.deps.NodeModuleResolver | From | To | |
Move And Rename Method private resolveJsModuleDirectory(moduleAddress String) : String from class com.google.javascript.jscomp.deps.ModuleLoader.ModulePath to private resolveJsModuleNodeDirectory(scriptAddress String, moduleAddress String) : String from class com.google.javascript.jscomp.deps.NodeModuleResolver | From | To | |
Move Method | 2 | ||
Move Method private resolveJsModuleFile(moduleAddress String) : String from class com.google.javascript.jscomp.deps.ModuleLoader.ModulePath to public resolveJsModuleFile(scriptAddress String, moduleAddress String) : String from class com.google.javascript.jscomp.deps.NodeModuleResolver | From | To | |
Move Method private resolveJsModuleFromRegistry(moduleAddress String) : String from class com.google.javascript.jscomp.deps.ModuleLoader.ModulePath to private resolveJsModuleFromRegistry(scriptAddress String, moduleAddress String) : String from class com.google.javascript.jscomp.deps.NodeModuleResolver | From | To | |
Move Attribute | 2 | ||
Move Attribute private packageJsonMainEntries : ImmutableMap<String,String> from class com.google.javascript.jscomp.deps.ModuleLoader to private packageJsonMainEntries : ImmutableMap<String,String> from class com.google.javascript.jscomp.deps.NodeModuleResolver | From | To | |
Move Attribute private packageJsonMainEntries : ImmutableMap<String,String> from class com.google.javascript.jscomp.deps.ModuleLoader to private packageJsonMainEntries : ImmutableMap<String,String> from class com.google.javascript.jscomp.deps.ModuleLoaderTest | From | To | |
Extract Variable | 2 | ||
Extract Variable rootModuleName : String in method private createRootPaths(roots Iterable<String>, resolver PathResolver) : ImmutableList<String> from class com.google.javascript.jscomp.deps.ModuleLoader | From | To | |
Extract Variable normalizedPath : String in method private normalize(path String, moduleRootPaths Iterable<String>) : String from class com.google.javascript.jscomp.deps.ModuleLoader | From | To |