]> git.mxchange.org Git - jfinancials-swing.git/commitdiff
ZIP codes don't need to be long ... to lacy programming to always use biggest value...
authorRoland Haeder <roland@mxchange.org>
Mon, 5 Oct 2015 09:41:30 +0000 (11:41 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 5 Oct 2015 09:41:30 +0000 (11:41 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/org/mxchange/addressbook/client/console/ConsoleClient.java

index 2824cd8b09a0ac0ca19857bbf1f2692bcdb51d57..d5a2fbcf15b3c915eaeae204d4c8ccd68c5c1da6 100644 (file)
@@ -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();