diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-05-07 15:20:08 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-05-07 15:20:08 +0200 |
commit | f7c5f42cf3ca81ff948ae08afe50d15c09412bfc (patch) | |
tree | 67a180d697e13b419b7741466fceaa6f5806f5bb /sonar-batch | |
parent | 223cca42ca4f24a6d5790077eb0e638d421276f4 (diff) | |
download | sonarqube-f7c5f42cf3ca81ff948ae08afe50d15c09412bfc.tar.gz sonarqube-f7c5f42cf3ca81ff948ae08afe50d15c09412bfc.zip |
Fix quality flaws
Diffstat (limited to 'sonar-batch')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/debt/DebtDecorator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/debt/DebtDecorator.java b/sonar-batch/src/main/java/org/sonar/batch/debt/DebtDecorator.java index d9912f45b4b..f4521d664a6 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/debt/DebtDecorator.java +++ b/sonar-batch/src/main/java/org/sonar/batch/debt/DebtDecorator.java @@ -202,7 +202,7 @@ public final class DebtDecorator implements Decorator { public void add(@Nullable E key, Long value) { if (key != null) { Long currentValue = sumByKeys.get(key); - sumByKeys.put(key, (currentValue != null) ? (currentValue + value) : value); + sumByKeys.put(key, currentValue != null ? currentValue + value : value); } } |