From: Roland Haeder Date: Thu, 6 Aug 2015 12:16:35 +0000 (+0200) Subject: Type needs to be long as the parser wants to set long X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e200822df53ed15d17fdb8f90743d9b9d148c30c;p=jcore.git Type needs to be long as the parser wants to set long Signed-off-by:Roland Häder --- diff --git a/src/org/mxchange/jcore/contact/BaseContact.java b/src/org/mxchange/jcore/contact/BaseContact.java index 0caf206..9463538 100644 --- a/src/org/mxchange/jcore/contact/BaseContact.java +++ b/src/org/mxchange/jcore/contact/BaseContact.java @@ -82,7 +82,7 @@ public class BaseContact extends BaseFrameworkSystem implements Contact { /** * House number */ - private int houseNumber; + private long houseNumber; /** * Marker whether this contact is user's own data @@ -383,7 +383,7 @@ public class BaseContact extends BaseFrameworkSystem implements Contact { * @return the houseNumber */ @Override - public int getHouseNumber () { + public long getHouseNumber () { return this.houseNumber; } @@ -393,7 +393,7 @@ public class BaseContact extends BaseFrameworkSystem implements Contact { * @param houseNumber the houseNumber to set */ @Override - public final void setHouseNumber (final int houseNumber) { + public final void setHouseNumber (final long houseNumber) { this.houseNumber = houseNumber; } diff --git a/src/org/mxchange/jcore/contact/Contact.java b/src/org/mxchange/jcore/contact/Contact.java index af6141e..7cd1373 100644 --- a/src/org/mxchange/jcore/contact/Contact.java +++ b/src/org/mxchange/jcore/contact/Contact.java @@ -114,14 +114,14 @@ public interface Contact extends FrameworkInterface { * * @return the houseNumber */ - public int getHouseNumber (); + public long getHouseNumber (); /** * House number * * @param houseNumber the houseNumber to set */ - public void setHouseNumber (final int houseNumber); + public void setHouseNumber (final long houseNumber); /** * ZIP code