aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws-client
diff options
context:
space:
mode:
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);
}
}