4107897e89d7557b2eeaea75e0d04a075b445a4f
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 1
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private hasOnlyWhitespaceInFront(token JavaToken) : boolean renamed to private hasOnlyWhiteSpaceForTokenFunction(token JavaToken, tokenFunction Function<JavaToken,Optional<JavaToken>>) : boolean in class com.github.javaparser.printer.lexicalpreservation.RemovedGroup | From | To | |
Rename Variable | 3 | ||
Rename Variable previousToken : Optional<JavaToken> to tokenResult : Optional<JavaToken> in method private hasOnlyWhiteSpaceForTokenFunction(token JavaToken, tokenFunction Function<JavaToken,Optional<JavaToken>>) : boolean in class com.github.javaparser.printer.lexicalpreservation.RemovedGroup | From | To | |
Rename Variable hasOnlyWhitespaceInFront : boolean to hasOnlyWhitespace : boolean in method private hasOnlyWhitespace(startElement Removed, hasOnlyWhitespaceFunction Function<TokenRange,Boolean>) : boolean in class com.github.javaparser.printer.lexicalpreservation.RemovedGroup | From | To | |
Rename Variable hasOnlyWhitespaceBehind : boolean to hasOnlyWhitespace : boolean in method private hasOnlyWhitespace(startElement Removed, hasOnlyWhitespaceFunction Function<TokenRange,Boolean>) : boolean in class com.github.javaparser.printer.lexicalpreservation.RemovedGroup | From | To | |
Parameterize Variable | 2 | ||
Parameterize Variable firstElement : Removed to startElement : Removed in method private hasOnlyWhitespace(startElement Removed, hasOnlyWhitespaceFunction Function<TokenRange,Boolean>) : boolean in class com.github.javaparser.printer.lexicalpreservation.RemovedGroup | From | To | |
Parameterize Variable lastElement : Removed to startElement : Removed in method private hasOnlyWhitespace(startElement Removed, hasOnlyWhitespaceFunction Function<TokenRange,Boolean>) : boolean in class com.github.javaparser.printer.lexicalpreservation.RemovedGroup | From | To | |
Extract Method | 2 | ||
Extract Method private hasOnlyWhitespace(startElement Removed, hasOnlyWhitespaceFunction Function<TokenRange,Boolean>) : boolean extracted from package isACompleteLine() : boolean in class com.github.javaparser.printer.lexicalpreservation.RemovedGroup | From | To |