Added debug info about review data cleaning.

This commit is contained in:
Christian P. MOMON 2018-05-19 10:31:32 +02:00
parent 33ac985eb3
commit a69edd8989

View File

@ -23,6 +23,8 @@ import java.util.Collections;
import java.util.Iterator;
import org.april.hebdobot.model.stats.ReviewDataComparator.Sorting;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* The Class Stats.
@ -30,6 +32,7 @@ import org.april.hebdobot.model.stats.ReviewDataComparator.Sorting;
public class ReviewDatas extends ArrayList<ReviewData>
{
private static final long serialVersionUID = 326880908257489774L;
private static final Logger logger = LoggerFactory.getLogger(ReviewDatas.class);
/**
* Instantiates a new ReviewDatas.
@ -58,6 +61,7 @@ public class ReviewDatas extends ArrayList<ReviewData>
result += 1;
}
}
logger.debug("Cleaned review data: {}", result);
//
return result;