From: Roland Haeder Date: Fri, 2 Oct 2015 10:30:31 +0000 (+0200) Subject: changed ZIP code to Integer (enougth) + updated jar X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3d13adebbc804dbff90bcee351658538c1d63147;p=pizzaservice-war.git changed ZIP code to Integer (enougth) + updated jar Signed-off-by:Roland Häder --- diff --git a/lib/jcontacts-core.jar b/lib/jcontacts-core.jar index 9affc543..8226b801 100644 Binary files a/lib/jcontacts-core.jar and b/lib/jcontacts-core.jar differ diff --git a/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebBean.java b/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebBean.java index 445ab65c..ad577807 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebBean.java @@ -116,7 +116,7 @@ public class CustomerWebBean implements CustomerWebController { /** * ZIP code */ - private Long zipCode; + private Integer zipCode; /** * Default constructor @@ -289,12 +289,12 @@ public class CustomerWebBean implements CustomerWebController { } @Override - public Long getZipCode () { + public Integer getZipCode () { return this.zipCode; } @Override - public void setZipCode (final Long zipCode) { + public void setZipCode (final Integer zipCode) { this.zipCode = zipCode; } diff --git a/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebController.java b/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebController.java index c9ef58b3..ddb4996d 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebController.java @@ -207,14 +207,14 @@ public interface CustomerWebController extends Serializable { *

* @return the zipCode */ - public Long getZipCode (); + public Integer getZipCode (); /** * ZIP code *

* @param zipCode the zipCode to set */ - public void setZipCode (final Long zipCode); + public void setZipCode (final Integer zipCode); /** * Checks whether all required personal data is set