From: Roland Haeder Date: Mon, 17 Aug 2015 11:00:59 +0000 (+0200) Subject: Some cleanups X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=319062602f913ce9e7f18e6392a030410c45056d;p=pizzaservice-war.git Some cleanups Signed-off-by:Roland Häder --- diff --git a/src/java/org/mxchange/pizzaapplication/product/Product.java b/src/java/org/mxchange/pizzaapplication/product/Product.java index 686f4e1f..2ff49328 100644 --- a/src/java/org/mxchange/pizzaapplication/product/Product.java +++ b/src/java/org/mxchange/pizzaapplication/product/Product.java @@ -93,9 +93,9 @@ public interface Product extends Storeable, Comparable { /** * Compare method - * @param category Category to compare to + * @param product Product to compare to * @return Comparison value */ @Override - public int compareTo (final Product category); + public int compareTo (final Product product); } diff --git a/web/finished.jsp b/web/finished.jsp index 4f574d8b..848cf56b 100644 --- a/web/finished.jsp +++ b/web/finished.jsp @@ -86,13 +86,12 @@ <%=product.getPrice()%> - + <%=app.getTotalPositionPriceFromRequestSession(product, request, session)%> <% } - float totalPrice = app.calculateTotalPrice(request, session); %> @@ -101,14 +100,14 @@ <%=app.calculateTotalAmount(request, session)%> - +   Gesamtpreis: - - <%=totalPrice%> + + <%=app.calculateTotalPrice(request, session)%> diff --git a/web/index.jsp b/web/index.jsp index 31610d6b..6409310f 100644 --- a/web/index.jsp +++ b/web/index.jsp @@ -79,8 +79,8 @@ <%=product.getTitle()%> - - <%=product.getPrice()%> + + <%=product.getPrice()%> <% diff --git a/web/preview.jsp b/web/preview.jsp index ca5a32d7..3d2b9b73 100644 --- a/web/preview.jsp +++ b/web/preview.jsp @@ -89,7 +89,7 @@ <%=product.getPrice()%> - + <%=app.getTotalPositionPriceFromRequestSession(product, request, session)%> @@ -108,13 +108,13 @@ <%=app.calculateTotalAmount(request, session)%> - +   Gesamtpreis: - + <%=app.calculateTotalPrice(request, session)%>