diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2011-01-10 14:21:21 +0100 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2011-01-10 14:21:21 +0100 |
commit | 2647d0f4b78c682da31b5ccfd17107577f9eeecb (patch) | |
tree | 7f5c2d5d123bf8b839a1480aa38153e8c130ae28 /sonar-server | |
parent | 259530d1439951f3fd9ba70469fb0fa2cd0db665 (diff) | |
download | sonarqube-2647d0f4b78c682da31b5ccfd17107577f9eeecb.tar.gz sonarqube-2647d0f4b78c682da31b5ccfd17107577f9eeecb.zip |
filters: fix bug when CRITERIA.VARIATION is null
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/java/org/sonar/server/filters/MeasureCriterion.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-server/src/main/java/org/sonar/server/filters/MeasureCriterion.java b/sonar-server/src/main/java/org/sonar/server/filters/MeasureCriterion.java index b6b025fab49..810b24d0c03 100644 --- a/sonar-server/src/main/java/org/sonar/server/filters/MeasureCriterion.java +++ b/sonar-server/src/main/java/org/sonar/server/filters/MeasureCriterion.java @@ -60,8 +60,8 @@ public class MeasureCriterion { this.value = value; } - public Boolean isVariation() { - return variation; + public boolean isVariation() { + return variation==Boolean.TRUE; } public MeasureCriterion setVariation(Boolean b) { |