b436b3cd9860529718b95c36dafe565fe68f6293
Files Diff
- Added: 2
- Removed: 1
- Renamed: 0
- Modified: 3
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 3 | ||
| Rename Method public testSigleLineIfBlock() : void renamed to public testSigleLineCaseDefault() : void in class com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheckTest | From | To | |
| Rename Method private isSkipIfBlock(literalIf DetailAST) : boolean renamed to private isSkipStatement(statement DetailAST) : boolean in class com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck | From | To | |
| Rename Method public setAllowSingleLineIf(allowSingleLineIf boolean) : void renamed to public setAllowSingleLineStatement(allowSingleLineStatement boolean) : void in class com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck | From | To | |
| Rename Variable | 1 | ||
| Rename Variable ifBlock : DetailAST to block : DetailAST in method private isSingleLineIf(literalIf DetailAST) : boolean in class com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck | From | To | |
| Rename Class | 1 | ||
| Rename Class com.puppycrawl.tools.checkstyle.InputBracesSingleLineIfBlock renamed to com.puppycrawl.tools.checkstyle.InputBracesSingleLineStatements | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute allowSingleLineIf : boolean to allowSingleLineStatement : boolean in class com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter allowSingleLineIf : boolean to allowSingleLineStatement : boolean in method public setAllowSingleLineStatement(allowSingleLineStatement boolean) : void in class com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck | From | To | |
| Rename Parameter literalIf : DetailAST to statement : DetailAST in method private isSkipStatement(statement DetailAST) : boolean in class com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck | From | To |