diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2014-12-08 11:52:48 +0100 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2014-12-08 11:52:48 +0100 |
commit | 67d960d6a47a82a91c68ad1b150b11de17768a9e (patch) | |
tree | 9587f4be3f5d55a8486a82b99026e053208772a1 /plugins | |
parent | c9863df6828342adab79de3b26553a932c308518 (diff) | |
download | sonarqube-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.java | 3 |
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) { |