aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-05-31 00:33:32 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-05-31 00:33:32 +0200
commit7f8bce0bf7dcf96495fa1a55d82a39ce2a106f66 (patch)
tree36ef28da32c7db67c4502d63178aba194ca85980 /sonar-core
parentc611a64bbba6f9a0cd656892f0643d24a97aa34a (diff)
downloadsonarqube-7f8bce0bf7dcf96495fa1a55d82a39ce2a106f66.tar.gz
sonarqube-7f8bce0bf7dcf96495fa1a55d82a39ce2a106f66.zip
Fix some quality flaws
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/issue/ActionPlanStats.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/issue/ActionPlanStats.java b/sonar-core/src/main/java/org/sonar/core/issue/ActionPlanStats.java
index dc42120042a..371125642c5 100644
--- a/sonar-core/src/main/java/org/sonar/core/issue/ActionPlanStats.java
+++ b/sonar-core/src/main/java/org/sonar/core/issue/ActionPlanStats.java
@@ -67,10 +67,10 @@ public class ActionPlanStats extends DefaultActionPlan {
}
public boolean isOpen(){
- return ActionPlan.STATUS_OPEN.equals(super.status());
+ return ActionPlan.STATUS_OPEN.equals(status());
}
public boolean overDue(){
- return super.status() == ActionPlan.STATUS_OPEN && super.deadLine() != null && new Date().after(super.deadLine());
+ return isOpen() && deadLine() != null && new Date().after(deadLine());
}
}