diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2017-09-12 09:44:10 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2017-09-12 09:53:42 +0200 |
commit | 00e962902d2e11050c9cd2e3facd54d4e3f8f820 (patch) | |
tree | 48302fa0d7f1b89af56b1700c1d6186a5dfc1c25 /sonar-plugin-api | |
parent | 47400c9969edfc32ae4f748829804c9818e59e02 (diff) | |
download | sonarqube-00e962902d2e11050c9cd2e3facd54d4e3f8f820.tar.gz sonarqube-00e962902d2e11050c9cd2e3facd54d4e3f8f820.zip |
Fix Quality flaws
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/PostProjectAnalysisTaskTester.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/PostProjectAnalysisTaskTester.java b/sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/PostProjectAnalysisTaskTester.java index 57ba6659890..5b4b42b2ac7 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/PostProjectAnalysisTaskTester.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/PostProjectAnalysisTaskTester.java @@ -148,7 +148,7 @@ public class PostProjectAnalysisTaskTester { } /** - * @since 6.1 + * @since 6.1 */ public PostProjectAnalysisTaskTester withScannerContext(ScannerContext scannerContext) { this.scannerContext = requireNonNull(scannerContext, SCANNER_CONTEXT_CAN_NOT_BE_NULL); @@ -166,9 +166,9 @@ public class PostProjectAnalysisTaskTester { } public void execute() { - this.ceTask = requireNonNull(ceTask, CE_TASK_CAN_NOT_BE_NULL); - this.project = requireNonNull(project, PROJECT_CAN_NOT_BE_NULL); - this.date = requireNonNull(date, DATE_CAN_NOT_BE_NULL); + requireNonNull(ceTask, CE_TASK_CAN_NOT_BE_NULL); + requireNonNull(project, PROJECT_CAN_NOT_BE_NULL); + requireNonNull(date, DATE_CAN_NOT_BE_NULL); this.underTest.finished( new PostProjectAnalysisTask.ProjectAnalysis() { |