35e1e1b102eea96f8a3aa23adf1763a1e6f9acbe
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 15
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 7 | ||
Rename Method public resolveEs6Module(moduleName String) : ModulePath renamed to private resolveJsModuleLegacy(moduleName String, sourcename String, lineno int, colno int) : String in class com.google.javascript.jscomp.deps.ModuleLoader.ModulePath | From | To | |
Rename Method private resolveCommonJsModuleFile(requireName String) : String renamed to private resolveJsModuleFileOrDirectory(moduleAddress String) : String in class com.google.javascript.jscomp.deps.ModuleLoader.ModulePath | From | To | |
Rename Method private resolveCommonJsModuleFromRegistry(requireName String) : String renamed to private resolveJsModuleFromRegistry(moduleAddress String) : String in class com.google.javascript.jscomp.deps.ModuleLoader.ModulePath | From | To | |
Rename Method public testLocateCommonJs() : void renamed to public testLocateJsNode() : void in class com.google.javascript.jscomp.deps.ModuleLoaderTest | From | To | |
Rename Method private resolveCommonJsModuleFileOrDirectory(requireName String) : String renamed to private resolveJsModuleDirectory(moduleAddress String) : String in class com.google.javascript.jscomp.deps.ModuleLoader.ModulePath | From | To | |
Rename Method public testLocateCommonNodeModules() : void renamed to public testLocateNodeModuleNode() : void in class com.google.javascript.jscomp.deps.ModuleLoaderTest | From | To | |
Rename Method public testJsExtension() : void renamed to public testJsExtensionNode() : void in class com.google.javascript.jscomp.deps.ModuleLoaderTest | From | To | |
Inline Method | 1 | ||
Inline Method private resolveCommonJsModuleDirectory(requireName String) : String inlined to private resolveJsModuleDirectory(moduleAddress String) : String in class com.google.javascript.jscomp.deps.ModuleLoader.ModulePath | From | To | |
Change Return Type | 1 | ||
Change Return Type ModulePath to String in method private resolveJsModuleLegacy(moduleName String, sourcename String, lineno int, colno int) : String in class com.google.javascript.jscomp.deps.ModuleLoader.ModulePath | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute extensions : String[] to fileExtensionsToSearch : String[] in method private resolveJsModuleFile(moduleAddress String) : String in class com.google.javascript.jscomp.deps.ModuleLoader.ModulePath | From | To | |
Extract Method | 1 | ||
Extract Method private resolveJsModuleFile(moduleAddress String) : String extracted from private resolveCommonJsModuleFile(requireName String) : String in class com.google.javascript.jscomp.deps.ModuleLoader.ModulePath | From | To | |
Rename Parameter | 5 | ||
Rename Parameter requireName : String to moduleAddress : String in method private resolveJsModuleFile(moduleAddress String) : String in class com.google.javascript.jscomp.deps.ModuleLoader.ModulePath | From | To | |
Rename Parameter requireName : String to moduleAddress : String in method private resolveJsModuleDirectory(moduleAddress String) : String in class com.google.javascript.jscomp.deps.ModuleLoader.ModulePath | From | To | |
Rename Parameter requireName : String to moduleAddress : String in method private resolveJsModuleFromRegistry(moduleAddress String) : String in class com.google.javascript.jscomp.deps.ModuleLoader.ModulePath | From | To | |
Rename Parameter requireName : String to moduleAddress : String in method private resolveJsModuleFileOrDirectory(moduleAddress String) : String in class com.google.javascript.jscomp.deps.ModuleLoader.ModulePath | From | To |