7c6dc7a12e0dedde5a934106ddbb282ebaf8d0cd
Files Diff
- Added: 6
- Removed: 3
- Renamed: 0
- Modified: 31
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method public getBinFileForGoPackage(goPathSubLocation Location, goPackageString String) : Location from class com.googlecode.goclipse.tooling.env.GoEnvironment to protected getValidGoPackageName(goPackageString String) : GoPackageName from class com.googlecode.goclipse.core.operations.GoBuildManager.AbstractGoBuildType | From | To | |
Move Method | 1 | ||
Move Method public getExecutableSuffix() : String from class melnorme.lang.utils.ProcessUtils to public getExecutableSuffix() : String from class melnorme.utilbox.misc.MiscUtil | From | To | |
Rename Class | 2 | ||
Rename Class melnorme.lang.ide.ui.preferences.LangProjectOptionsBlock renamed to melnorme.lang.ide.ui.preferences.LangProjectBuildConfigurationComponent | From | To | |
Rename Class melnorme.lang.ide.ui.dialogs.AbstractProjectPropertyPage renamed to melnorme.lang.ide.ui.dialogs.LangBuildConfigurationPropertyPage | From | To | |
Move Class | 1 | ||
Move Class com.googlecode.goclipse.core.env.GoBundleModelManager moved to com.googlecode.goclipse.core.engine.GoBundleModelManager | From | To | |
Change Variable Type | 2 | ||
Change Variable Type buildConfigs : Indexable<BuildConfiguration> to buildConfigs : Indexable<String> in method protected loadProjectBuildInfo(project IProject, bundleInfo AbstractBundleInfo) : void in class melnorme.lang.ide.core.operations.build.BuildManager | From | To | |
Change Variable Type buildConfig : BuildConfiguration to buildConfig : String in method protected loadProjectBuildInfo(project IProject, bundleInfo AbstractBundleInfo) : void in class melnorme.lang.ide.core.operations.build.BuildManager | From | To | |
Extract Method | 2 | ||
Extract Method public findGoPackageForLocation(goPackageLocation Location) : GoPackageName extracted from public findGoPackageForSourceFile(goSourceFileLoc Location) : GoPackageName in class com.googlecode.goclipse.tooling.env.GoEnvironment | From | To | |
Extract Method public findGoPackageForLocation(goPackageLocation Location) : GoPackageName extracted from public findGoPackageForSourceFile(sourceFilePath Location) : GoPackageName in class com.googlecode.goclipse.tooling.env.GoPath | From | To | |
Split Attribute | 1 | ||
Split Attribute targetName : String to [buildConfiguration : String, buildTypeName : String] in class melnorme.lang.ide.core.operations.build.BuildTarget | From | To | |
Rename Method | 10 | ||
Rename Method public classTeardon() : void renamed to public classTeardown() : void in class melnorme.lang.ide.ui.dialogs.LangProjectWizardTest | From | To | |
Rename Method public getBinFileForGoPackage(goPathSubLocation Location, goPackage GoPackageName) : Location renamed to public getBinFolderLocationForSubLocation(goPathSubLocation Location) : Location in class com.googlecode.goclipse.tooling.env.GoEnvironment | From | To | |
Rename Method public findGoPackageForSourceModule(goModuleLoc Location) : GoPackageName renamed to public findGoPackageForLocation(goPackageLocation Location) : GoPackageName in class com.googlecode.goclipse.tooling.env.GoRoot | From | To | |
Rename Method protected abstract createProjectOptionsComponent(project IProject) : LangProjectOptionsBlock renamed to protected abstract createProjectBuildConfigComponent(project IProject) : LangProjectBuildConfigurationComponent in class melnorme.lang.ide.ui.dialogs.LangBuildConfigurationPropertyPage | From | To | |
Rename Method protected createProjectOptionsComponent(project IProject) : LangProjectOptionsBlock renamed to protected createProjectBuildConfigComponent(project IProject) : LangProjectBuildConfigurationComponent in class com.googlecode.goclipse.ui.properties.GoProjectBuildOptionsPage | From | To | |
Rename Method protected getGoToolCommandLine() : ArrayList2<String> renamed to protected getToolCommandLine() : ArrayList2<String> in class com.googlecode.goclipse.core.operations.GoBuildManager | From | To | |
Rename Method protected getGoPackageForSourceFile(goSourceFileLoc Location, sourceRoot Location) : GoPackageName renamed to protected getGoPackageForLocation(goPackageLocation Location, sourceRoot Location) : GoPackageName in class com.googlecode.goclipse.tooling.env.GoEnvironment | From | To | |
Rename Method protected getBuildToolPath2() : Path renamed to protected getBuildToolPath() : Path in class melnorme.lang.ide.core.operations.build.CommonBuildTargetOperation | From | To | |
Rename Method public getBuildTarget(name String) : BuildTarget renamed to public getBuildTargetFor(name String) : BuildTarget in class melnorme.lang.ide.core.project_model.ProjectBuildInfo | From | To | |
Rename Method protected createGoPackageField() : ButtonTextField renamed to protected init_createGoPackageField() : ButtonTextField in class com.googlecode.goclipse.ui.launch.GoMainLaunchConfigurationTab | From | To | |
Pull Up Method | 3 | ||
Pull Up Method protected getBooleanAttribute(targetElem Node, keyName String, defaultValue boolean) : boolean from class melnorme.lang.ide.core.operations.build.BuildTargetsSerializer to protected getBooleanAttribute(targetElem Node, keyName String, defaultValue boolean) : boolean from class melnorme.lang.utils.DocumentSerializerHelper | From | To | |
Pull Up Method protected getAttribute(targetElem Node, keyName String, defaultValue String) : String from class melnorme.lang.ide.core.operations.build.BuildTargetsSerializer to protected getAttribute(targetElem Node, keyName String, defaultValue String) : String from class melnorme.lang.utils.DocumentSerializerHelper | From | To | |
Pull Up Method protected getDocumentBuilder() : DocumentBuilder from class melnorme.lang.ide.core.operations.build.BuildTargetsSerializer to protected getDocumentBuilder() : DocumentBuilder from class melnorme.lang.utils.DocumentSerializerHelper | From | To | |
Rename Variable | 1 | ||
Rename Variable sourceFilePath : Path to goPackageRelPath : Path in method protected getGoPackageForLocation(goPackageLocation Location, sourceRoot Location) : GoPackageName in class com.googlecode.goclipse.tooling.env.GoEnvironment | From | To | |
Inline Method | 1 | ||
Inline Method protected createBuildPB() : ProcessBuilder inlined to public execute(pm IProgressMonitor) : void in class com.googlecode.goclipse.core.operations.GoBuildManager.GoBuildTargetOperation | From | To | |
Change Return Type | 4 | ||
Change Return Type Location to GoPackageName in method protected getValidGoPackageName(goPackageString String) : GoPackageName in class com.googlecode.goclipse.core.operations.GoBuildManager.AbstractGoBuildType | From | To | |
Change Return Type Indexable<BuildConfiguration> to Indexable<String> in method public abstract getBuildConfigurations() : Indexable<String> in class melnorme.lang.ide.core.project_model.AbstractBundleInfo | From | To | |
Change Return Type LangProjectOptionsBlock to LangProjectBuildConfigurationComponent in method protected createProjectBuildConfigComponent(project IProject) : LangProjectBuildConfigurationComponent in class com.googlecode.goclipse.ui.properties.GoProjectBuildOptionsPage | From | To | |
Change Return Type LangProjectOptionsBlock to LangProjectBuildConfigurationComponent in method protected abstract createProjectBuildConfigComponent(project IProject) : LangProjectBuildConfigurationComponent in class melnorme.lang.ide.ui.dialogs.LangBuildConfigurationPropertyPage | From | To | |
Extract Superclass | 1 | ||
Extract Superclass melnorme.lang.utils.DocumentSerializerHelper from classes [melnorme.lang.ide.core.operations.build.BuildTargetsSerializer] | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type buildOptionsComponent : LangProjectOptionsBlock to buildOptionsComponent : LangProjectBuildConfigurationComponent in class melnorme.lang.ide.ui.dialogs.LangBuildConfigurationPropertyPage | From | To | |
Change Attribute Type buildTargets : HashMap2<String,BuildTarget> to buildTargets : LinkedHashMap2<String,BuildTarget> in class melnorme.lang.ide.core.project_model.ProjectBuildInfo | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method protected getBuildManager() : BuildManager extracted from protected createBuildTarget(enabled boolean, name String, buildOptions String) : BuildTarget in class melnorme.lang.ide.core.operations.build.BuildTargetsSerializer_Test & moved to class melnorme.lang.ide.core.operations.build.BuildTarget | From | To | |
Rename Parameter | 8 | ||
Rename Parameter items : String... to fieldOptions : String... in method public setFieldOptions(fieldOptions String...) : void in class melnorme.util.swt.components.fields.ComboOptionsField | From | To | |
Rename Parameter sourceFilePath : Location to goPackageLocation : Location in method public findGoPackageForLocation(goPackageLocation Location) : GoPackageName in class com.googlecode.goclipse.tooling.env.GoPath | From | To | |
Rename Parameter name : String to targetName : String in method protected createBuildTarget(enabled boolean, targetName String, buildOptions String) : BuildTarget in class melnorme.lang.ide.core.operations.build.BuildTargetsSerializer_Test | From | To | |
Rename Parameter sourceFilePath : Location to goSourceFileLocation : Location in method public findGoPackageForSourceFile(goSourceFileLocation Location) : GoPackageName in class com.googlecode.goclipse.tooling.env.GoPath | From | To | |
Rename Parameter goModuleLoc : Location to goPackageLocation : Location in method public findGoPackageForLocation(goPackageLocation Location) : GoPackageName in class com.googlecode.goclipse.tooling.env.GoRoot | From | To | |
Rename Parameter items : Indexable<String> to fieldOptions : Indexable<String> in method public setFieldOptions(fieldOptions Indexable<String>) : void in class melnorme.util.swt.components.fields.ComboOptionsField | From | To | |
Rename Parameter goSourceFileLoc : Location to goPackageLocation : Location in method public findGoPackageForLocation(goPackageLocation Location) : GoPackageName in class com.googlecode.goclipse.tooling.env.GoEnvironment | From | To | |
Rename Parameter goSourceFileLoc : Location to goPackageLocation : Location in method protected getGoPackageForLocation(goPackageLocation Location, sourceRoot Location) : GoPackageName in class com.googlecode.goclipse.tooling.env.GoEnvironment | From | To |