public boolean omitArticle(Article.ArticleField field,Article a){
  boolean ret=false;
switch (field) {
case unread:
    if (a.isUnread)     ret=true;
  break;
case updated:
if (a.updated != null) {
  if (lastUpdated.compareTo(a.updated) >= 0) {
    omittedArticles.add(a.id);
    ret=true;
  }
}
default :
break;
}
return ret;
}

public boolean omitArticle ( Article . ArticleField field , Article a ) { boolean ret = false ; switch ( field ) { case unread : if ( a . isUnread ) ret = true ; break ; case updated : if ( a . updated != null ) { if ( lastUpdated . compareTo ( a . updated ) >= 0 ) { omittedArticles . add ( a . id ) ; ret = true ; } } default : break ; } return ret ; }
article should be omitted if it ' s id already exist in db and updated date is not after date , which is stored in db
