public void removeCartItem(int index,boolean triggerExternalOps,LocalDispatcher dispatcher) throws CartItemModifyException {
  if (isReadOnlyCart()) {
    throw new CartItemModifyException("Cart items cannot be changed");
  }
  if (index < 0)   return;
  if (cartLines.size() <= index)   return;
  ShoppingCartItem item=cartLines.remove(index);
  item.setQuantity(BigDecimal.ZERO,dispatcher,this,triggerExternalOps,true,false,true);
}

public void removeCartItem ( int index , boolean triggerExternalOps , LocalDispatcher dispatcher ) throws CartItemModifyException { if ( isReadOnlyCart ( ) ) { throw new CartItemModifyException ( "Cart items cannot be changed" ) ; } if ( index < 0 ) return ; if ( cartLines . size ( ) <= index ) return ; ShoppingCartItem item = cartLines . remove ( index ) ; item . setQuantity ( BigDecimal . ZERO , dispatcher , this , triggerExternalOps , true , false , true ) ; }
scipio : remove an item from the cart object . < p > scipio : modified to support triggerexternalops bool .
