791cb4d1f2d5e730d8a388436425c20f727ba62e
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method private handleClassFileSafely(packageName String, classesCollector List<Class<?>>, classFilter Predicate<Class<?>>, file File) : void renamed to private processClassFileSafely(packageName String, classFile File, classFilter Predicate<Class<?>>, classes List<Class<?>>) : void in class org.junit.platform.commons.util.ClasspathScanner | From | To | |
Rename Method private loadClassForClassFile(file File, packageName String) : Optional<Class<?>> renamed to private loadClassFromFile(packageName String, classFile File) : Optional<Class<?>> in class org.junit.platform.commons.util.ClasspathScanner | From | To | |
Rename Variable | 3 | ||
Rename Variable classesCollector : List<Class<?>> to classes : List<Class<?>> in method private findClassesInSourceDirRecursively(packageName String, sourceDir File, classFilter Predicate<Class<?>>) : List<Class<?>> in class org.junit.platform.commons.util.ClasspathScanner | From | To | |
Rename Variable classForClassFile : Optional<Class<?>> to clazz : Optional<Class<?>> in method private processClassFileSafely(packageName String, classFile File, classFilter Predicate<Class<?>>, classes List<Class<?>>) : void in class org.junit.platform.commons.util.ClasspathScanner | From | To | |
Rename Variable aSourceDir : File to sourceDir : File in method private allClassesInSourceDirs(sourceDirs List<File>, basePackageName String, classFilter Predicate<Class<?>>) : List<Class<?>> in class org.junit.platform.commons.util.ClasspathScanner | From | To | |
Parameterize Variable | 3 | ||
Parameterize Variable runtimeExceptionSimulationFilter : Predicate<Class<?>> to filter : Predicate<Class<?>> in method private assertClassesScannedWhenExceptionIsThrown(filter Predicate<Class<?>>) : void in class org.junit.platform.commons.util.ClasspathScannerTests | From | To | |
Parameterize Variable otherInternalErrorSimulationFilter : Predicate<Class<?>> to filter : Predicate<Class<?>> in method private assertClassesScannedWhenExceptionIsThrown(filter Predicate<Class<?>>) : void in class org.junit.platform.commons.util.ClasspathScannerTests | From | To | |
Parameterize Variable malformedClassNameSimulationFilter : Predicate<Class<?>> to filter : Predicate<Class<?>> in method private assertClassesScannedWhenExceptionIsThrown(filter Predicate<Class<?>>) : void in class org.junit.platform.commons.util.ClasspathScannerTests | From | To | |
Extract Method | 3 | ||
Extract Method private assertClassesScannedWhenExceptionIsThrown(filter Predicate<Class<?>>) : void extracted from package scanForClassesInClasspathRootWhenGenericRuntimeExceptionOccurs() : void in class org.junit.platform.commons.util.ClasspathScannerTests | From | To | |
Extract Method private assertClassesScannedWhenExceptionIsThrown(filter Predicate<Class<?>>) : void extracted from package scanForClassesInClasspathRootWhenOtherInternalErrorOccurs() : void in class org.junit.platform.commons.util.ClasspathScannerTests | From | To | |
Extract Method private assertClassesScannedWhenExceptionIsThrown(filter Predicate<Class<?>>) : void extracted from package scanForClassesInClasspathRootWhenMalformedClassnameInternalErrorOccurs() : void in class org.junit.platform.commons.util.ClasspathScannerTests | From | To | |
Inline Variable | 4 | ||
Inline Variable path : String in method private allSourceDirsForPackage(basePackageName String) : List<File> from class org.junit.platform.commons.util.ClasspathScanner | From | To | |
Inline Variable root : File in method package scanForClassesInClasspathRootWhenMalformedClassnameInternalErrorOccurs() : void from class org.junit.platform.commons.util.ClasspathScannerTests | From | To | |
Inline Variable root : File in method package scanForClassesInClasspathRootWhenGenericRuntimeExceptionOccurs() : void from class org.junit.platform.commons.util.ClasspathScannerTests | From | To | |
Inline Variable root : File in method package scanForClassesInClasspathRootWhenOtherInternalErrorOccurs() : void from class org.junit.platform.commons.util.ClasspathScannerTests | From | To | |
Rename Parameter | 5 | ||
Rename Parameter basePackageName : String to packageName : String in method private packagePath(packageName String) : String in class org.junit.platform.commons.util.ClasspathScanner | From | To | |
Rename Parameter classesCollector : List<Class<?>> to classes : List<Class<?>> in method private collectClassesRecursively(packageName String, sourceDir File, classFilter Predicate<Class<?>>, classes List<Class<?>>) : void in class org.junit.platform.commons.util.ClasspathScanner | From | To | |
Rename Parameter classesCollector : List<Class<?>> to classes : List<Class<?>> in method private processClassFileSafely(packageName String, classFile File, classFilter Predicate<Class<?>>, classes List<Class<?>>) : void in class org.junit.platform.commons.util.ClasspathScanner | From | To | |
Rename Parameter file : File to classFile : File in method private processClassFileSafely(packageName String, classFile File, classFilter Predicate<Class<?>>, classes List<Class<?>>) : void in class org.junit.platform.commons.util.ClasspathScanner | From | To | |
Rename Parameter file : File to classFile : File in method private loadClassFromFile(packageName String, classFile File) : Optional<Class<?>> in class org.junit.platform.commons.util.ClasspathScanner | From | To |