aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws-client
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2010-12-23 10:50:58 +0000
committersimonbrandhof <simon.brandhof@gmail.com>2010-12-23 10:50:58 +0000
commitc6d744a50d661ca5fb1f6846fb9880e4c9484f0d (patch)
treefb97869217e8bd1faed1527d6c3367e226311f7b /sonar-ws-client
parent2e69f5a3c56ecdc074dd893fe9bb16f81fe9a8f3 (diff)
downloadsonarqube-c6d744a50d661ca5fb1f6846fb9880e4c9484f0d.tar.gz
sonarqube-c6d744a50d661ca5fb1f6846fb9880e4c9484f0d.zip
fix filter by period in violations viewer
Diffstat (limited to 'sonar-ws-client')
-rw-r--r--sonar-ws-client/src/main/java/org/sonar/wsclient/services/Violation.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/services/Violation.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/services/Violation.java
index eb89f5ec880..3484e4d03cb 100644
--- a/sonar-ws-client/src/main/java/org/sonar/wsclient/services/Violation.java
+++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/services/Violation.java
@@ -152,6 +152,6 @@ public class Violation extends Model {
* @since 2.5
*/
public boolean isCreatedAfter(Date date) {
- return createdAt!=null && date!=null && !createdAt.before(date);
+ return createdAt!=null && date!=null && createdAt.after(date);
}
}