]> git.mxchange.org Git - addressbook-swing.git/commitdiff
It has to be Long to get rid of "0" in forms
authorRoland Haeder <roland@mxchange.org>
Fri, 7 Aug 2015 13:14:00 +0000 (15:14 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 7 Aug 2015 13:14:00 +0000 (15:14 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

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

index 5e8f7dab61d57806641088b4c288b73ba02a31a0..8a7bececed03fda5851e44b92d0a7a139cfb8983 100644 (file)
@@ -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();