aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2014-12-08 11:52:48 +0100
committerJulien HENRY <julien.henry@sonarsource.com>2014-12-08 11:52:48 +0100
commit67d960d6a47a82a91c68ad1b150b11de17768a9e (patch)
tree9587f4be3f5d55a8486a82b99026e053208772a1 /plugins
parentc9863df6828342adab79de3b26553a932c308518 (diff)
downloadsonarqube-67d960d6a47a82a91c68ad1b150b11de17768a9e.tar.gz
sonarqube-67d960d6a47a82a91c68ad1b150b11de17768a9e.zip
Fix some quality flaws
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/IssueTrackingResult.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/IssueTrackingResult.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/IssueTrackingResult.java
index 68e24d97bae..f63f94f8115 100644
--- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/IssueTrackingResult.java
+++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/IssueTrackingResult.java
@@ -98,8 +98,7 @@ class IssueTrackingResult {
private Integer lineNotNull(IssueDto i) {
Integer line = i.getLine();
- Integer lineNotNull = line != null ? line : 0;
- return lineNotNull;
+ return line != null ? line : 0;
}
void setMatch(DefaultIssue issue, IssueDto matching) {