f3143fa28a339d6409932362307e906741b8c6f9
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 13
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 4 | ||
Change Parameter Type outputLocation : String to outputPath : Path in method private getOutputStream(outputPath Path) : OutputStream in class com.puppycrawl.tools.checkstyle.Main | From | To | |
Change Parameter Type commandLine : CommandLine to options : CliOptions in method private runCli(options CliOptions, filesToProcess List<File>) : int in class com.puppycrawl.tools.checkstyle.Main | From | To | |
Change Parameter Type cmdLine : CommandLine to parseResult : ParseResult in method private validateCli(parseResult ParseResult, filesToProcess List<File>) : List<String> in class com.puppycrawl.tools.checkstyle.Main.CliOptions | From | To | |
Change Parameter Type outputLocation : String to outputPath : Path in method private getOutputStreamOptions(outputPath Path) : AutomaticBean.OutputStreamOptions in class com.puppycrawl.tools.checkstyle.Main | From | To | |
Move Method | 1 | ||
Move Method private validateCli(cmdLine CommandLine, filesToProcess List<File>) : List<String> from class com.puppycrawl.tools.checkstyle.Main to private validateCli(parseResult ParseResult, filesToProcess List<File>) : List<String> from class com.puppycrawl.tools.checkstyle.Main.CliOptions | From | To | |
Rename Variable | 3 | ||
Rename Variable cliViolations : boolean to hasMessages : boolean in method private execute(parseResult ParseResult, options CliOptions) : int in class com.puppycrawl.tools.checkstyle.Main | From | To | |
Rename Variable files : List<File> to result : List<File> in method private getFilesToProcess(options CliOptions) : List<File> in class com.puppycrawl.tools.checkstyle.Main | From | To | |
Rename Variable element : String to file : File in method private getFilesToProcess(options CliOptions) : List<File> in class com.puppycrawl.tools.checkstyle.Main | From | To | |
Move Attribute | 2 | ||
Move Attribute private HELP_WIDTH : int from class com.puppycrawl.tools.checkstyle.JavadocPropertiesGenerator to private HELP_WIDTH : int from class com.puppycrawl.tools.checkstyle.Main.CliOptions | From | To | |
Move Attribute private HELP_WIDTH : int from class com.puppycrawl.tools.checkstyle.Main to private HELP_WIDTH : int from class com.puppycrawl.tools.checkstyle.Main.CliOptions | From | To | |
Merge Parameter | 1 | ||
Merge Parameter [inputFile : File, outputFile : File] to options : CliOptions in method private writePropertiesFile(options CliOptions) : void in class com.puppycrawl.tools.checkstyle.JavadocPropertiesGenerator | From | To | |
Rename Attribute | 2 | ||
Rename Attribute systemOut : SystemOutRule to systemErr : SystemErrRule in class com.puppycrawl.tools.checkstyle.MainTest | From | To | |
Rename Attribute systemErr : SystemErrRule to systemOut : SystemOutRule in class com.puppycrawl.tools.checkstyle.MainTest | From | To | |
Change Variable Type | 1 | ||
Change Variable Type element : String to file : File in method private getFilesToProcess(options CliOptions) : List<File> in class com.puppycrawl.tools.checkstyle.Main | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type format : String to format : OutputFormat in class com.puppycrawl.tools.checkstyle.Main.CliOptions | From | To | |
Change Attribute Type systemErr : SystemErrRule to systemOut : SystemOutRule in class com.puppycrawl.tools.checkstyle.MainTest | From | To | |
Change Attribute Type systemOut : SystemOutRule to systemErr : SystemErrRule in class com.puppycrawl.tools.checkstyle.MainTest | From | To | |
Inline Variable | 2 | ||
Inline Variable tabWidth : int in method private runCli(commandLine CommandLine, filesToProcess List<File>) : int from class com.puppycrawl.tools.checkstyle.Main | From | To | |
Inline Variable suppressionLineColumnNumber : String in method private runCli(commandLine CommandLine, filesToProcess List<File>) : int from class com.puppycrawl.tools.checkstyle.Main | From | To | |
Extract Method | 2 | ||
Extract Method private getVersionString() : String extracted from public main(args String...) : void in class com.puppycrawl.tools.checkstyle.Main | From | To | |
Extract Method private execute(parseResult ParseResult, options CliOptions) : int extracted from public main(args String...) : void in class com.puppycrawl.tools.checkstyle.Main | From | To | |
Rename Parameter | 5 | ||
Rename Parameter outputLocation : String to outputPath : Path in method private getOutputStream(outputPath Path) : OutputStream in class com.puppycrawl.tools.checkstyle.Main | From | To | |
Rename Parameter commandLine : CommandLine to options : CliOptions in method private runCli(options CliOptions, filesToProcess List<File>) : int in class com.puppycrawl.tools.checkstyle.Main | From | To | |
Rename Parameter cmdLine : CommandLine to parseResult : ParseResult in method private validateCli(parseResult ParseResult, filesToProcess List<File>) : List<String> in class com.puppycrawl.tools.checkstyle.Main.CliOptions | From | To | |
Rename Parameter outputLocation : String to outputPath : Path in method private getOutputStreamOptions(outputPath Path) : AutomaticBean.OutputStreamOptions in class com.puppycrawl.tools.checkstyle.Main | From | To | |
Rename Parameter cliOptions : CliOptions to options : CliOptions in method private runCheckstyle(options CliOptions, filesToProcess List<File>) : int in class com.puppycrawl.tools.checkstyle.Main | From | To |