From: Roland Haeder Date: Mon, 5 Oct 2015 09:41:30 +0000 (+0200) Subject: ZIP codes don't need to be long ... to lacy programming to always use biggest value... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=61a5c7ed4a3eaeacbaa49f510b0af80e30ef7748;p=jfinancials-swing.git ZIP codes don't need to be long ... to lacy programming to always use biggest value ranges Signed-off-by:Roland Häder --- diff --git a/src/org/mxchange/addressbook/client/console/ConsoleClient.java b/src/org/mxchange/addressbook/client/console/ConsoleClient.java index 2824cd8..d5a2fbc 100644 --- a/src/org/mxchange/addressbook/client/console/ConsoleClient.java +++ b/src/org/mxchange/addressbook/client/console/ConsoleClient.java @@ -162,7 +162,7 @@ public class ConsoleClient extends BaseAddressbookClient implements AddressbookC String streetNumber = manager.enterOwnStreet(); // Get zip code - Long zipCode = (long) manager.enterOwnZipCode(); + Integer zipCode = manager.enterOwnZipCode(); // Get city name String city = manager.enterOwnCity();