From e200822df53ed15d17fdb8f90743d9b9d148c30c Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 6 Aug 2015 14:16:35 +0200 Subject: [PATCH] =?utf8?q?Type=20needs=20to=20be=20long=20as=20the=20parse?= =?utf8?q?r=20wants=20to=20set=20long=20Signed-off-by:Roland=20H=C3=A4der?= =?utf8?q?=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/org/mxchange/jcore/contact/BaseContact.java | 6 +++--- src/org/mxchange/jcore/contact/Contact.java | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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 -- 2.39.5