private void checkRemoved(){
  List<Offer> list=market.getExpiredOffersOlderThan(TIME_TO_REMOVING);
  for (  Offer offer : list) {
    market.removeExpiredOffer(offer);
    StringBuilder builder=new StringBuilder();
    builder.append("Your offer of ");
    builder.append(Grammar.a_noun(offer.getItemName()));
    builder.append(" has been removed permanently from the market.");
    sendMessage(offer.getOfferer(),builder);
  }
}

private void checkRemoved ( ) { List < Offer > list = market . getExpiredOffersOlderThan ( TIME_TO_REMOVING ) ; for ( Offer offer : list ) { market . removeExpiredOffer ( offer ) ; StringBuilder builder = new StringBuilder ( ) ; builder . append ( "Your offer of " ) ; builder . append ( Grammar . a_noun ( offer . getItemName ( ) ) ) ; builder . append ( " has been removed permanently from the market." ) ; sendMessage ( offer . getOfferer ( ) , builder ) ; } }
check for offers that should be permanently removed
