Mentions légales du service

Skip to content
Snippets Groups Projects
Commit d443e83d authored by Guillaume Thomazon's avatar Guillaume Thomazon
Browse files

If date is null, it's excluded

git-svn-id: https://scm.gforge.inria.fr/authscm/ycadoret/svn/gazelle/Maven/gazelle-proxy/trunk@35094 356b4b1a-1d2b-0410-8bf1-ffa24008f01e
parent 69ce7878
No related merge requests found
......@@ -23,7 +23,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class MessageFilterStep<T extends AbstractMessage> implements MessageFilter<T> {
private static Logger log = LoggerFactory.getLogger(MessageFilterStep.class);
private Step step;
......@@ -346,10 +346,11 @@ public class MessageFilterStep<T extends AbstractMessage> implements MessageFilt
for (int i = 0; i < steps.size();) {
for (int j = 1; j < steps.size();) {
log.info(""+steps.get(i).getDate());
log.info(""+steps.get(j).getDate());
if (steps.get(i).getDate().compareTo(steps.get(j).getDate()) >= 0) {
if (lastModifDate==null || lastModifDate.compareTo(steps.get(i).getDate()) <= 0) {
log.info("" + steps.get(i).getDate());
log.info("" + steps.get(j).getDate());
if (steps.get(i).getDate() != null && steps.get(j).getDate() != null
&& steps.get(i).getDate().compareTo(steps.get(j).getDate()) >= 0) {
if (lastModifDate == null || lastModifDate.compareTo(steps.get(i).getDate()) <= 0) {
lastModifDate = steps.get(i).getDate();
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment