From: Roland Haeder Date: Fri, 7 Aug 2015 13:14:00 +0000 (+0200) Subject: It has to be Long to get rid of "0" in forms X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f2172cd9db2b43e0d06fc5f1be5456abe06b31ee;p=jaddressbook-share-lib.git It has to be Long to get rid of "0" in forms Signed-off-by:Roland Häder --- diff --git a/Addressbook/src/org/mxchange/addressbook/client/console/ConsoleClient.java b/Addressbook/src/org/mxchange/addressbook/client/console/ConsoleClient.java index 5e8f7da..8a7bece 100644 --- a/Addressbook/src/org/mxchange/addressbook/client/console/ConsoleClient.java +++ b/Addressbook/src/org/mxchange/addressbook/client/console/ConsoleClient.java @@ -172,7 +172,7 @@ public class ConsoleClient extends BaseAddressbookClient implements AddressbookC String streetNumber = manager.enterOwnStreet(); // Get zip code - int zipCode = manager.enterOwnZipCode(); + Long zipCode = (long) manager.enterOwnZipCode(); // Get city name String city = manager.enterOwnCity();