5aa45b75918185f1548fcd0b929323d425becc57
Files Diff
- Added: 6
- Removed: 1
- Renamed: 0
- Modified: 21
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method public getLog(context String) : Log renamed to protected buildLog(context String) : Log in class org.neo4j.logging.AssertableLogProvider | From | To | |
Rename Method public getLog(logClass Class) : Log renamed to protected buildLog(loggingClass Class) : Log in class org.neo4j.logging.AssertableLogProvider | From | To | |
Rename Method public getLog(category String) : Log renamed to protected buildLog(context String) : DuplicatingLog in class org.neo4j.logging.DuplicatingLogProvider | From | To | |
Rename Method public getLog(loggingClass Class) : Log renamed to protected buildLog(loggingClass Class) : DuplicatingLog in class org.neo4j.logging.DuplicatingLogProvider | From | To | |
Pull Up Method | 2 | ||
Pull Up Method public getLog(loggingClass Class) : Log from class org.neo4j.logging.FormattedLogProvider to public getLog(loggingClass Class) : T from class org.neo4j.logging.AbstractLogProvider | From | To | |
Pull Up Method public getLog(context String) : Log from class org.neo4j.logging.FormattedLogProvider to private getLog(context String, logSupplier Supplier<T>) : T from class org.neo4j.logging.AbstractLogProvider | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type debugEnabled : boolean to level : Level in method protected FormattedLog(currentDateSupplier Supplier<Date>, writerSupplier Supplier<PrintWriter>, maybeLock Object, category String, level Level, autoFlush boolean) in class org.neo4j.logging.FormattedLog | From | To | |
Move Method | 1 | ||
Move Method public toPrintWriter(writerSupplier Supplier<PrintWriter>, lock Object, category String, debugEnabled boolean, autoFlush boolean) : FormattedLog from class org.neo4j.logging.FormattedLog to public toPrintWriter(writerSupplier Supplier<PrintWriter>) : FormattedLog from class org.neo4j.logging.FormattedLog.Builder | From | To | |
Change Return Type | 4 | ||
Change Return Type Log to T in method public getLog(loggingClass Class) : T in class org.neo4j.logging.AbstractLogProvider | From | To | |
Change Return Type Log to DuplicatingLog in method protected buildLog(context String) : DuplicatingLog in class org.neo4j.logging.DuplicatingLogProvider | From | To | |
Change Return Type Log to T in method private getLog(context String, logSupplier Supplier<T>) : T in class org.neo4j.logging.AbstractLogProvider | From | To | |
Change Return Type Log to DuplicatingLog in method protected buildLog(loggingClass Class) : DuplicatingLog in class org.neo4j.logging.DuplicatingLogProvider | From | To | |
Move Attribute | 1 | ||
Move Attribute private currentDateSupplier : Supplier<Date> from class org.neo4j.logging.FormattedLog.FormattedLogger to private currentDateSupplier : Supplier<Date> from class org.neo4j.logging.FormattedLogProvider | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class org.neo4j.server.Bootstrapper.ContextLessLogProviderDelegate moved and renamed to org.neo4j.examples.EmbeddedNeo4jWithCustomLogging.MyCustomLogProvider | From | To | |
Move Class | 1 | ||
Move Class org.neo4j.logging.DuplicatingLogger moved to org.neo4j.logging.DuplicatingLog.DuplicatingLogger | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.neo4j.logging.AbstractLogProvider from classes [org.neo4j.logging.DuplicatingLogProvider, org.neo4j.logging.FormattedLogProvider, org.neo4j.logging.AssertableLogProvider] | From | To | |
Rename Attribute | 2 | ||
Rename Attribute debugEnabled : boolean to level : Level in class org.neo4j.logging.FormattedLogProvider | From | To | |
Rename Attribute debugEnabled : boolean to level : Level in class org.neo4j.logging.FormattedLog | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type debugEnabled : boolean to level : Level in class org.neo4j.logging.FormattedLogProvider | From | To | |
Change Attribute Type debugEnabled : boolean to level : Level in class org.neo4j.logging.FormattedLog | From | To | |
Rename Parameter | 4 | ||
Rename Parameter category : String to context : String in method protected buildLog(context String) : DuplicatingLog in class org.neo4j.logging.DuplicatingLogProvider | From | To | |
Rename Parameter logClass : Class to loggingClass : Class in method protected buildLog(loggingClass Class) : Log in class org.neo4j.logging.AssertableLogProvider | From | To | |
Rename Parameter debugEnabled : boolean to level : Level in method protected FormattedLog(currentDateSupplier Supplier<Date>, writerSupplier Supplier<PrintWriter>, maybeLock Object, category String, level Level, autoFlush boolean) in class org.neo4j.logging.FormattedLog | From | To | |
Rename Parameter debugEnabled : boolean to renderContext : boolean in method package FormattedLogProvider(currentDateSupplier Supplier<Date>, writerSupplier Supplier<PrintWriter>, renderContext boolean, level Level, autoFlush boolean) in class org.neo4j.logging.FormattedLogProvider | From | To |