From 8a7c5f289a340f1a7cd7cc7fbb26003630e1e50a Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 28 Aug 2015 14:32:07 +0200 Subject: [PATCH] =?utf8?q?use=20else=20and=20not=20continue=20Signed-off-b?= =?utf8?q?y:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- web/index.jsp | 89 +++++++++++++++++++++++++-------------------------- 1 file changed, 44 insertions(+), 45 deletions(-) diff --git a/web/index.jsp b/web/index.jsp index 625e4b93..585303d6 100644 --- a/web/index.jsp +++ b/web/index.jsp @@ -89,53 +89,52 @@ ${controller.init()} if (item != null) { // Some nice output ... %> - - - - - - - - - -
- Warenkorb - - <%=item.getAmount()%> - - <%=product.getTitle()%> - - -
+ + + + + + + + + +
+ Warenkorb + + <%=item.getAmount()%> + + <%=product.getTitle()%> + + +
<% - // Then skip this item - continue; - } - %> -
- - - - - - - - - -
- - - - - - - <%=product.getTitle()%> - - -
-
+ } else { + %> +
+ + + + + + + + + +
+ + + + + + + <%=product.getTitle()%> + + +
+
<% - } + } + } %> -- 2.39.5