Esempio n. 1
0
 /**
  * Method: removeWish()
  *
  * @param Long wishId
  */
 public void removeWish(Long wishId) {
   for (Long lot : wishlist) {
     if (lot.equals(wishId)) {
       wishlist.remove(lot);
       break;
     }
   }
 }
Esempio n. 2
0
 /**
  * Method: removeOpenLot()
  *
  * @param Long lotId
  */
 public void removeOpenLot(Long lotId) {
   for (Long lot : openLots) {
     if (lot.equals(lotId)) {
       if (openLots.size() > 1) {
         openLots.remove(lot);
       } else {
         openLots.clear();
       }
       break;
     }
   }
 }