aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorEric Hartmann <hartmann.eric@gmail.com>2017-10-20 16:15:53 +0200
committerEric Hartmann <hartmann.eric@gmail.Com>2017-10-20 16:39:51 +0200
commitdd4f70dcfab97cb1c14d49aa28a0c63b166c1131 (patch)
tree7392ebef85be84d736395fe143f854e7dc5250d6 /sonar-plugin-api
parent6bf0c30c664b7eb6e817b74d0a5e2948627c0caa (diff)
downloadsonarqube-dd4f70dcfab97cb1c14d49aa28a0c63b166c1131.tar.gz
sonarqube-dd4f70dcfab97cb1c14d49aa28a0c63b166c1131.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.java2
1 files changed, 1 insertions, 1 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 34f861791b7..3d0e678190a 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
@@ -193,7 +193,7 @@ public class PostProjectAnalysisTaskTester {
requireNonNull(date, DATE_CAN_NOT_BE_NULL);
Analysis analysis = null;
- if (date != null && analysisUuid != null) {
+ if (analysisUuid != null) {
analysis = new AnalysisBuilder()
.setDate(date)
.setAnalysisUuid(analysisUuid)