aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-12-18 10:20:13 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2012-12-18 10:38:21 +0100
commit281543033d0c8d0b4a513c472675c8da12aea93e (patch)
tree34a82c0854b6c85bc5d8ef0861af450fe525842f /sonar-core
parent3974f15e34b7d5708cd1b680a3edacc2d2ed01a8 (diff)
downloadsonarqube-281543033d0c8d0b4a513c472675c8da12aea93e.tar.gz
sonarqube-281543033d0c8d0b4a513c472675c8da12aea93e.zip
Fix quality flaw
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/measure/MeasureFilterSql.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/measure/MeasureFilterSql.java b/sonar-core/src/main/java/org/sonar/core/measure/MeasureFilterSql.java
index 77d461fd99b..78de713e2b6 100644
--- a/sonar-core/src/main/java/org/sonar/core/measure/MeasureFilterSql.java
+++ b/sonar-core/src/main/java/org/sonar/core/measure/MeasureFilterSql.java
@@ -275,9 +275,6 @@ class MeasureFilterSql {
if (ascending) {
return Ordering.from(new Comparator<Double>() {
public int compare(@Nullable Double left, @Nullable Double right) {
- if (left == right) {
- return 0;
- }
if (left == null) {
return 1;
}
@@ -291,9 +288,6 @@ class MeasureFilterSql {
}
return Ordering.from(new Comparator<Double>() {
public int compare(@Nullable Double left, @Nullable Double right) {
- if (left == right) {
- return 0;
- }
if (left == null) {
return 1;
}
@@ -326,9 +320,6 @@ class MeasureFilterSql {
if (ascending) {
return Ordering.from(new Comparator<Date>() {
public int compare(@Nullable Date left, @Nullable Date right) {
- if (left == right) {
- return 0;
- }
if (left == null) {
return 1;
}
@@ -342,9 +333,6 @@ class MeasureFilterSql {
}
return Ordering.from(new Comparator<Date>() {
public int compare(@Nullable Date left, @Nullable Date right) {
- if (left == right) {
- return 0;
- }
if (left == null) {
return 1;
}