<BUG>Product product = new Product(productName);product.setProductID(String.valueOf(productCounter++));</BUG><CONTEXT>.withRel("orderedItem"));}return offers;}private Offer createOffer(String productName, double val, Offer... addOns) {<extra_id_0>Offer offer = new Offer();offer.setItemOffered(product);</CONTEXT>
Product product = new Product(productName, String.valueOf(productCounter++));