7eaf631b008dc4b27fc42f543e664d0f919b7c7b
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 1 | ||
Rename Variable slistAST : DetailAST to hasNoSlist : boolean in method public visitToken(ast DetailAST) : void in class com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck | From | To | |
Parameterize Variable | 6 | ||
Parameterize Variable ifCondition : DetailAST to first : DetailAST in method private isOnSameLine(first DetailAST, second DetailAST) : boolean in class com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck | From | To | |
Parameterize Variable block : DetailAST to second : DetailAST in method private isOnSameLine(first DetailAST, second DetailAST) : boolean in class com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck | From | To | |
Parameterize Variable block : DetailAST to first : DetailAST in method private isOnSameLine(first DetailAST, second DetailAST) : boolean in class com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck | From | To | |
Change Variable Type | 1 | ||
Change Variable Type slistAST : DetailAST to hasNoSlist : boolean in method public visitToken(ast DetailAST) : void in class com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck | From | To | |
Extract Method | 6 | ||
Extract Method private isOnSameLine(first DetailAST, second DetailAST) : boolean extracted from private isSingleLineWhile(literalWhile DetailAST) : boolean in class com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck | From | To | |
Extract Method private isOnSameLine(first DetailAST, second DetailAST) : boolean extracted from private isSingleLineElse(literalElse DetailAST) : boolean in class com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck | From | To | |
Extract Method private isOnSameLine(first DetailAST, second DetailAST) : boolean extracted from private isSingleLineIf(literalIf DetailAST) : boolean in class com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck | From | To | |
Extract Method private isOnSameLine(first DetailAST, second DetailAST) : boolean extracted from private isSingleLineLambda(lambda DetailAST) : boolean in class com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck | From | To | |
Extract Method private isOnSameLine(first DetailAST, second DetailAST) : boolean extracted from private isSingleLineFor(literalFor DetailAST) : boolean in class com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck | From | To | |
Extract Method private isOnSameLine(first DetailAST, second DetailAST) : boolean extracted from private isSingleLineDoWhile(literalDo DetailAST) : boolean in class com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck | From | To | |
Rename Parameter | 3 | ||
Rename Parameter literalWhile : DetailAST to first : DetailAST in method private isOnSameLine(first DetailAST, second DetailAST) : boolean in class com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck | From | To | |
Rename Parameter literalElse : DetailAST to first : DetailAST in method private isOnSameLine(first DetailAST, second DetailAST) : boolean in class com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck | From | To | |
Rename Parameter lambda : DetailAST to first : DetailAST in method private isOnSameLine(first DetailAST, second DetailAST) : boolean in class com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck | From | To |