Clover coverage report - Flock Flock - 0.7-dev
Coverage timestamp: Thu Jan 30 2003 01:35:37 EST
file stats: LOC: 23   Methods: 2
NCLOC: 15   Classes: 1
This license of Clover is provided to support the development of Flock only. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover.
 
 Source file Conditionals Statements Methods TOTAL
SortByDate.java - 0% 0% 0%
 1   
 package net.sf.flock.filter;
 2   
 
 3   
 import java.util.Collections;
 4   
 import java.util.Comparator;
 5   
 import java.util.List;
 6   
 
 7   
 import net.sf.flock.FilterI;
 8   
 
 9   
 public class SortByDate implements FilterI {
 10   
 
 11   
     private final Comparator comparator;
 12   
     
 13  0
     public SortByDate() {
 14  0
         this.comparator = new ItemDateComparator();
 15   
     }
 16   
 
 17  0
     public List filter(List items) {
 18  0
         Collections.sort(items, this.comparator);
 19  0
         return items;
 20   
     }
 21   
 
 22   
 }
 23