8e199bc69d5dd00f060345db9f013cbada6e561d
Files Diff
- Added: 3
- Removed: 1
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method public registerCommandService(commandService ProfilerCommandService) : boolean from class com.navercorp.pinpoint.profiler.receiver.CommandDispatcher to public addService(service ProfilerCommandService) : boolean from class com.navercorp.pinpoint.profiler.receiver.ProfilerCommandLocatorBuilder | From | To | |
Move Method | 3 | ||
Move Method public addService(service ProfilerCommandService) : boolean from class com.navercorp.pinpoint.profiler.receiver.ProfilerCommandServiceRegistry to public addService(service ProfilerCommandService) : boolean from class com.navercorp.pinpoint.profiler.receiver.ProfilerCommandLocatorBuilder | From | To | |
Move Method public addService(clazz Class<? extends TBase>, service ProfilerCommandService) : boolean from class com.navercorp.pinpoint.profiler.receiver.ProfilerCommandServiceRegistry to public addService(clazz Class<? extends TBase>, service ProfilerCommandService) : boolean from class com.navercorp.pinpoint.profiler.receiver.ProfilerCommandLocatorBuilder | From | To | |
Move Method public addService(serviceGroup ProfilerCommandServiceGroup) : void from class com.navercorp.pinpoint.profiler.receiver.ProfilerCommandServiceRegistry to public addService(serviceGroup ProfilerCommandServiceGroup) : void from class com.navercorp.pinpoint.profiler.receiver.ProfilerCommandLocatorBuilder | From | To | |
Rename Variable | 1 | ||
Rename Variable classes : Enumeration<Class<? extends TBase>> to clazzSet : Set<Class<? extends TBase>> in method public getCommandServiceCodes() : Set<Short> in class com.navercorp.pinpoint.profiler.receiver.DefaultProfilerCommandServiceLocator | From | To | |
Change Return Type | 5 | ||
Change Return Type List<Class<? extends TBase>> to Set<Class<? extends TBase>> in method public getCommandServiceClasses() : Set<Class<? extends TBase>> in class com.navercorp.pinpoint.profiler.receiver.ProfilerCommandServiceLocator | From | To | |
Change Return Type List<Short> to Set<Short> in method public getCommandServiceCodes() : Set<Short> in class com.navercorp.pinpoint.profiler.receiver.ProfilerCommandServiceLocator | From | To | |
Change Return Type List<Class<? extends TBase>> to Set<Class<? extends TBase>> in method public getCommandServiceClasses() : Set<Class<? extends TBase>> in class com.navercorp.pinpoint.profiler.receiver.DefaultProfilerCommandServiceLocator | From | To | |
Change Return Type List<Short> to Set<Short> in method public getRegisteredCommandServiceCodes() : Set<Short> in class com.navercorp.pinpoint.profiler.receiver.CommandDispatcher | From | To | |
Change Return Type List<Short> to Set<Short> in method public getCommandServiceCodes() : Set<Short> in class com.navercorp.pinpoint.profiler.receiver.DefaultProfilerCommandServiceLocator | From | To | |
Move Attribute | 1 | ||
Move Attribute private logger : Logger from class com.navercorp.pinpoint.profiler.receiver.ProfilerCommandServiceRegistry to private logger : Logger from class com.navercorp.pinpoint.profiler.receiver.ProfilerCommandLocatorBuilder | From | To | |
Extract Class | 1 | ||
Extract Class com.navercorp.pinpoint.profiler.receiver.ProfilerCommandLocatorBuilder from class com.navercorp.pinpoint.profiler.receiver.ProfilerCommandServiceRegistry | From | To | |
Rename Class | 1 | ||
Rename Class com.navercorp.pinpoint.profiler.receiver.ProfilerCommandServiceRegistry renamed to com.navercorp.pinpoint.profiler.receiver.DefaultProfilerCommandServiceLocator | From | To | |
Rename Attribute | 1 | ||
Rename Attribute commandServiceRegistry : ProfilerCommandServiceRegistry to commandServiceLocator : ProfilerCommandServiceLocator in class com.navercorp.pinpoint.profiler.receiver.CommandDispatcher | From | To | |
Change Variable Type | 2 | ||
Change Variable Type classes : Enumeration<Class<? extends TBase>> to clazzSet : Set<Class<? extends TBase>> in method public getCommandServiceCodes() : Set<Short> in class com.navercorp.pinpoint.profiler.receiver.DefaultProfilerCommandServiceLocator | From | To | |
Change Variable Type commandServiceCodes : List<Short> to commandServiceCodes : Set<Short> in method public getCommandServiceCodes() : Set<Short> in class com.navercorp.pinpoint.profiler.receiver.DefaultProfilerCommandServiceLocator | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type profilerCommandServiceRepository : ConcurrentHashMap<Class<? extends TBase>,ProfilerCommandService> to profilerCommandServiceRepository : Map<Class<? extends TBase>,ProfilerCommandService> in class com.navercorp.pinpoint.profiler.receiver.DefaultProfilerCommandServiceLocator | From | To | |
Change Attribute Type commandServiceRegistry : ProfilerCommandServiceRegistry to commandServiceLocator : ProfilerCommandServiceLocator in class com.navercorp.pinpoint.profiler.receiver.CommandDispatcher | From | To | |
Rename Parameter | 1 | ||
Rename Parameter commandService : ProfilerCommandService to service : ProfilerCommandService in method public addService(service ProfilerCommandService) : boolean in class com.navercorp.pinpoint.profiler.receiver.ProfilerCommandLocatorBuilder | From | To |