9d0ea36067b38c05ca3fd5a0312881d3bb1f6bcf
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method private registerFromExtensionRegistrar(testExtension TestExtension) : void renamed to private registerExtensionPointsFromRegistrar(testExtension TestExtension) : void in class org.junit.gen5.engine.junit5.execution.TestExtensionRegistry | From | To | |
Rename Method public addExtension(extensionClass Class<? extends TestExtension>) : void renamed to package registerExtension(extensionType Class<? extends TestExtension>) : void in class org.junit.gen5.engine.junit5.execution.TestExtensionRegistry | From | To | |
Rename Method public getDefaultExtensionClasses() : List<Class<? extends TestExtension>> renamed to package getDefaultExtensionTypes() : List<Class<? extends TestExtension>> in class org.junit.gen5.engine.junit5.execution.TestExtensionRegistry | From | To | |
Rename Method public getRegisteredExtensionClasses() : Set<Class<? extends TestExtension>> renamed to package getRegisteredExtensionTypes() : Set<Class<? extends TestExtension>> in class org.junit.gen5.engine.junit5.execution.TestExtensionRegistry | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type extensionClass : Class<T> to extensionType : Class<E> in method public stream(extensionType Class<E>, order ApplicationOrder) : Stream<RegisteredExtensionPoint<E>> in class org.junit.gen5.engine.junit5.execution.TestExtensionRegistry | From | To | |
Change Parameter Type extensionClass : Class<T> to extensionType : Class<E> in method private getRegisteredExtensionPoints(extensionType Class<E>) : List<RegisteredExtensionPoint<E>> in class org.junit.gen5.engine.junit5.execution.TestExtensionRegistry | From | To | |
Change Parameter Type extensionPoint : T to extensionPoint : E in method public RegisteredExtensionPoint(extensionPoint E, position Position) in class org.junit.gen5.engine.junit5.execution.RegisteredExtensionPoint | From | To | |
Rename Variable | 2 | ||
Rename Variable allRegisteredExtensionClasses : Set<Class<? extends TestExtension>> to allRegisteredExtensionTypes : Set<Class<? extends TestExtension>> in method package getRegisteredExtensionTypes() : Set<Class<? extends TestExtension>> in class org.junit.gen5.engine.junit5.execution.TestExtensionRegistry | From | To | |
Rename Variable extensionExists : boolean to extensionAlreadyRegistered : boolean in method package registerExtension(extensionType Class<? extends TestExtension>) : void in class org.junit.gen5.engine.junit5.execution.TestExtensionRegistry | From | To | |
Change Return Type | 3 | ||
Change Return Type Stream<RegisteredExtensionPoint<T>> to Stream<RegisteredExtensionPoint<E>> in method public stream(extensionType Class<E>, order ApplicationOrder) : Stream<RegisteredExtensionPoint<E>> in class org.junit.gen5.engine.junit5.execution.TestExtensionRegistry | From | To | |
Change Return Type List<RegisteredExtensionPoint<T>> to List<RegisteredExtensionPoint<E>> in method private getRegisteredExtensionPoints(extensionType Class<E>) : List<RegisteredExtensionPoint<E>> in class org.junit.gen5.engine.junit5.execution.TestExtensionRegistry | From | To | |
Change Return Type T to E in method public getExtensionPoint() : E in class org.junit.gen5.engine.junit5.execution.RegisteredExtensionPoint | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute extensionRegistry : ExtensionRegistry to delegatingExtensionRegistry : ExtensionRegistry in method private registerExtensionPointsFromRegistrar(testExtension TestExtension) : void in class org.junit.gen5.engine.junit5.execution.TestExtensionRegistry | From | To | |
Rename Attribute | 1 | ||
Rename Attribute registeredExtensionClasses : Set<Class<? extends TestExtension>> to registeredExtensionTypes : Set<Class<? extends TestExtension>> in class org.junit.gen5.engine.junit5.execution.TestExtensionRegistry | From | To | |
Change Variable Type | 2 | ||
Change Variable Type allExtensionPoints : List<RegisteredExtensionPoint<T>> to allExtensionPoints : List<RegisteredExtensionPoint<E>> in method private getRegisteredExtensionPoints(extensionType Class<E>) : List<RegisteredExtensionPoint<E>> in class org.junit.gen5.engine.junit5.execution.TestExtensionRegistry | From | To | |
Change Variable Type registeredExtensionPoints : List<RegisteredExtensionPoint<T>> to registeredExtensionPoints : List<RegisteredExtensionPoint<E>> in method public stream(extensionType Class<E>, order ApplicationOrder) : Stream<RegisteredExtensionPoint<E>> in class org.junit.gen5.engine.junit5.execution.TestExtensionRegistry | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type extensionPoint : T to extensionPoint : E in class org.junit.gen5.engine.junit5.execution.RegisteredExtensionPoint | From | To | |
Rename Parameter | 4 | ||
Rename Parameter extensionClass : Class<T> to extensionType : Class<E> in method private getRegisteredExtensionPoints(extensionType Class<E>) : List<RegisteredExtensionPoint<E>> in class org.junit.gen5.engine.junit5.execution.TestExtensionRegistry | From | To | |
Rename Parameter extensionClasses : List<Class<? extends TestExtension>> to extensionTypes : List<Class<? extends TestExtension>> in method public newRegistryFrom(parentRegistry TestExtensionRegistry, extensionTypes List<Class<? extends TestExtension>>) : TestExtensionRegistry in class org.junit.gen5.engine.junit5.execution.TestExtensionRegistry | From | To | |
Rename Parameter extensionClass : Class<T> to extensionType : Class<E> in method public stream(extensionType Class<E>, order ApplicationOrder) : Stream<RegisteredExtensionPoint<E>> in class org.junit.gen5.engine.junit5.execution.TestExtensionRegistry | From | To | |
Rename Parameter extensionClass : Class<? extends TestExtension> to extensionType : Class<? extends TestExtension> in method package registerExtension(extensionType Class<? extends TestExtension>) : void in class org.junit.gen5.engine.junit5.execution.TestExtensionRegistry | From | To |