Skip to content

Commit 7e5529e

Browse files
unnecessary lines removed
1 parent 2f1a053 commit 7e5529e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/main/java/com/codecool/shop/controller/ProductController.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws Se
3131

3232
TemplateEngine engine = TemplateEngineUtil.getTemplateEngine(req.getServletContext());
3333
WebContext context = new WebContext(req, resp, req.getServletContext());
34-
// context.setVariables(params);
35-
context.setVariable("recipient", "World");
3634
context.setVariable("category", productCategoryDataStore.find(1));
3735
context.setVariable("products", productDataStore.getBy(productCategoryDataStore.find(1)));
3836
engine.process("product/index.html", context, resp.getWriter());

0 commit comments

Comments
 (0)