69d48c56cc34a857124929c1745a1a2040aa3659
Files Diff
- Added: 16
- Removed: 2
- Renamed: 0
- Modified: 23
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 6 | ||
| Change Parameter Type directory : Path to directory : Location in method protected deleteDirContents(directory Location, deleteDirectory boolean) : void in class melnorme.utilbox.misc.FileUtil | From | To | |
| Change Parameter Type destFolder : File to destFolder : Location in method private FileCopyTraverser(destFolder Location) in class melnorme.lang.utils.MiscFileUtils.FileCopyTraverser | From | To | |
| Change Parameter Type dir : File to dirLoc : Location in method public traverseDirectory(dirLoc Location) : void in class melnorme.lang.utils.MiscFileUtils.FileTraverser | From | To | |
| Change Parameter Type file : File to file : Location in method public writeStringToFile(file Location, string String) : void in class melnorme.utilbox.tests.CommonTestUtils | From | To | |
| Change Parameter Type file : File to loc : Location in method public readStringFromFile(loc Location) : String in class melnorme.utilbox.tests.CommonTestUtils | From | To | |
| Change Parameter Type coll : Collection<?> to coll : Iterable<?> in method public collToString(coll Iterable<?>, separator String) : String in class melnorme.utilbox.misc.StringUtil | From | To | |
| Move Method | 6 | ||
| Move Method public readStringFromFile(file File) : String from class melnorme.utilbox.tests.CommonTestExt to public readStringFromFile(loc Location) : String from class melnorme.utilbox.tests.CommonTestUtils | From | To | |
| Move Method public getClassResourceAsString(klass Class<?>, resourceName String) : String from class melnorme.utilbox.tests.CommonTestExt to public getClassResourceAsString(klass Class<?>, resourceName String) : String from class melnorme.utilbox.tests.CommonTestUtils | From | To | |
| Move Method public readStringFromFile(path Path) : String from class melnorme.utilbox.tests.CommonTestExt to public readStringFromFile(path Path) : String from class melnorme.utilbox.tests.CommonTestUtils | From | To | |
| Move Method public writeStringToFile(file File, string String) : void from class melnorme.utilbox.tests.CommonTestExt to public writeStringToFile(file Location, string String) : void from class melnorme.utilbox.tests.CommonTestUtils | From | To | |
| Move Method public appendStringToFile(file File, string String) : void from class melnorme.utilbox.tests.CommonTestExt to public appendStringToFile(file File, string String) : void from class melnorme.utilbox.tests.CommonTestUtils | From | To | |
| Move Method public writeStringToFile(file Path, string String) : void from class melnorme.utilbox.tests.CommonTestExt to public writeStringToFile(file Path, string String) : void from class melnorme.utilbox.tests.CommonTestUtils | From | To | |
| Move Attribute | 1 | ||
| Move Attribute public DEFAULT_TESTDATA_ENCODING : Charset from class melnorme.utilbox.tests.CommonTestExt to public DEFAULT_TESTDATA_ENCODING : Charset from class melnorme.utilbox.tests.CommonTestUtils | From | To | |
| Rename Class | 1 | ||
| Rename Class melnorme.utilbox.collections.ChainedIterator renamed to melnorme.utilbox.collections.SimpleChainedIterator | From | To | |
| Move Class | 1 | ||
| Move Class melnorme.utilbox.concurrency.ExecutorTaskAgent.NameAgentThreadFactory moved to melnorme.utilbox.concurrency.NameAgentThreadFactory | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type newCollection : HashSet<E> to newCollection : HashSet2<E> in method public createHashSet(array E...) : HashSet2<E> in class melnorme.utilbox.misc.CollectionUtil | From | To | |
| Inline Variable | 1 | ||
| Inline Variable sourcePath : File in method public copyDirContentsIntoDirectory(sourceDir Path, destFolder Path) : void from class melnorme.lang.utils.MiscFileUtils | From | To | |
| Extract Method | 4 | ||
| Extract Method protected doCheckLogErrors() : void extracted from public checkLogErrors() : void in class melnorme.lang.ide.core.tests.CommonCoreTest | From | To | |
| Extract Method public copyDirContentsIntoDirectory(sourceDir Location, destFolder Location) : void extracted from public copyDirContentsIntoDirectory(sourceDir Path, destFolder Path) : void in class melnorme.lang.utils.MiscFileUtils | From | To | |
| Extract Method public copyDirContentsIntoDirectory(sourceDir Location, destFolder Location) : void extracted from public copyDirContentsIntoDirectory(sourceDir File, destFolder File) : void in class melnorme.lang.utils.MiscFileUtils | From | To | |
| Extract Method public toString(iterable Iterable<T>, separator String, toStringFn Function<? super T,String>) : String extracted from public iterToString(sequence Iterable<T>, separator String, toStringFn Function<? super T,String>) : String in class melnorme.utilbox.misc.StringUtil | From | To | |
| Rename Method | 2 | ||
| Rename Method public checkLogErrors() : void renamed to public checkLogErrors_after() : void in class melnorme.lang.ide.core.tests.CommonCoreTest | From | To | |
| Rename Method public checkLogErrors() : void renamed to protected doCheckLogErrors() : void in class melnorme.lang.ide.ui.tests.CommonUITest | From | To | |
| Rename Variable | 2 | ||
| Rename Variable t : Thread to thread : Thread in method public newThread(runable Runnable) : Thread in class melnorme.utilbox.concurrency.NameAgentThreadFactory | From | To | |
| Rename Variable expectedExtra : HashSet<?> to expectedMissing : HashSet<?> in method public assertEqualSet(result Set<?>, expected Set<?>) : void in class melnorme.utilbox.tests.CommonTestUtils | From | To | |
| Change Return Type | 3 | ||
| Change Return Type HashSet<E> to HashSet2<E> in method public createHashSet(array E...) : HashSet2<E> in class melnorme.utilbox.misc.CollectionUtil | From | To | |
| Change Return Type File to Location in method public getResourcesDir() : Location in class melnorme.lang.tests.LangToolingTestResources | From | To | |
| Change Return Type File to Location in method public getWorkingDir() : Location in class melnorme.utilbox.tests.TestsWorkingDir | From | To | |
| Change Attribute Type | 4 | ||
| Change Attribute Type destFolder : File to destFolder : Location in class melnorme.lang.utils.MiscFileUtils.FileCopyTraverser | From | To | |
| Change Attribute Type IGNORE_PATH : Path to IGNORE_PATH : Location in class melnorme.utilbox.tests.CommonTestExt | From | To | |
| Change Attribute Type testResourcesDir : String to testResourcesDir : Location in class melnorme.lang.tests.LangToolingTestResources | From | To | |
| Change Attribute Type rootDir : File to rootDir : Location in class melnorme.lang.utils.MiscFileUtils.FileTraverser | From | To | |
| Extract And Move Method | 2 | ||
| Extract And Move Method public epath(path Path) : Path extracted from public path(path Path) : Path in class melnorme.lang.ide.core.utils.EclipseUtils & moved to class melnorme.lang.ide.core.utils.ResourceUtils | From | To | |
| Extract And Move Method public epath(path Path) : Path extracted from public epath(path Path) : Path in class melnorme.lang.ide.core.tests.CommonCoreTest & moved to class melnorme.lang.ide.core.utils.ResourceUtils | From | To | |
| Rename Parameter | 6 | ||
| Rename Parameter dir : File to dirLoc : Location in method public traverseDirectory(dirLoc Location) : void in class melnorme.lang.utils.MiscFileUtils.FileTraverser | From | To | |
| Rename Parameter name : String to poolName : String in method public NameAgentThreadFactory(poolName String) in class melnorme.utilbox.concurrency.NameAgentThreadFactory | From | To | |
| Rename Parameter sequence : Iterable<T> to iterable : Iterable<T> in method public toString(iterable Iterable<T>, separator String, toStringFn Function<? super T,String>) : String in class melnorme.utilbox.misc.StringUtil | From | To | |
| Rename Parameter file : File to loc : Location in method public readStringFromFile(loc Location) : String in class melnorme.utilbox.tests.CommonTestUtils | From | To | |
| Rename Parameter r : Runnable to runable : Runnable in method public newThread(runable Runnable) : Thread in class melnorme.utilbox.concurrency.NameAgentThreadFactory | From | To | |
| Rename Parameter sequence : Iterable<T> to iterable : Iterable<T> in method public iterToString(iterable Iterable<T>, separator String, toStringFn Function<? super T,String>) : String in class melnorme.utilbox.misc.StringUtil | From | To |