From d2c9bbc0897d88644804317023706429fcdd4164 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Mon, 7 Sep 2015 16:30:58 +0200 Subject: [PATCH] =?utf8?q?Removed=20final=20as=20this=20interfers=20with?= =?utf8?q?=20EJB's=20proxy=20classes=20Signed-off-by:Roland=20H=C3=A4der?= =?utf8?q?=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../mxchange/jcore/BaseFrameworkSystem.java | 28 ++++++------ .../jcore/model/contact/BaseContact.java | 44 +++++++++---------- .../model/contact/gender/GenderUtils.java | 2 +- 3 files changed, 37 insertions(+), 37 deletions(-) diff --git a/src/org/mxchange/jcore/BaseFrameworkSystem.java b/src/org/mxchange/jcore/BaseFrameworkSystem.java index 4f27ff0..685635b 100644 --- a/src/org/mxchange/jcore/BaseFrameworkSystem.java +++ b/src/org/mxchange/jcore/BaseFrameworkSystem.java @@ -91,13 +91,13 @@ public class BaseFrameworkSystem implements FrameworkInterface { * * @return Instance from this application */ - public static final FrameworkInterface getInstance () { + public static FrameworkInterface getInstance () { // Return it return selfInstance; } @Override - public final Application getApplication () { + public Application getApplication () { return this.application; } @@ -106,17 +106,17 @@ public class BaseFrameworkSystem implements FrameworkInterface { * * @return Logger instance */ - protected final Logger getLogger () { + protected Logger getLogger () { return this.LOG; } @Override - public final Manageable getManager () { + public Manageable getManager () { return this.manager; } @Override - public final String getMessageStringFromKey (final String key) { + public String getMessageStringFromKey (final String key) { // Return message return this.getBundle().getString(key); } @@ -126,7 +126,7 @@ public class BaseFrameworkSystem implements FrameworkInterface { * * @param throwable Any type of Throwable */ - protected final void abortProgramWithException (final Throwable throwable) { + protected void abortProgramWithException (final Throwable throwable) { // Log exception ... this.logException(throwable); @@ -139,12 +139,12 @@ public class BaseFrameworkSystem implements FrameworkInterface { * * @param application the application to set */ - protected final void setApplication (final Application application) { + protected void setApplication (final Application application) { this.application = application; } @Override - public final Client getClient () { + public Client getClient () { return this.client; } @@ -153,7 +153,7 @@ public class BaseFrameworkSystem implements FrameworkInterface { * * @return Resource bundle */ - protected final ResourceBundle getBundle () { + protected ResourceBundle getBundle () { return BaseFrameworkSystem.bundle; } @@ -171,12 +171,12 @@ public class BaseFrameworkSystem implements FrameworkInterface { * * @param client the client to set */ - protected final void setClient (final Client client) { + protected void setClient (final Client client) { this.client = client; } @Override - public final void logException (final Throwable exception) { + public void logException (final Throwable exception) { // Log this exception this.getLogger().catching(exception); } @@ -248,7 +248,7 @@ public class BaseFrameworkSystem implements FrameworkInterface { * * @param manager the manager instance to set */ - protected final void setManager (final Manageable manager) { + protected void setManager (final Manageable manager) { this.manager = manager; } @@ -257,7 +257,7 @@ public class BaseFrameworkSystem implements FrameworkInterface { * * @return Contact instance */ - protected final Contact getContact () { + protected Contact getContact () { return this.contact; } @@ -266,7 +266,7 @@ public class BaseFrameworkSystem implements FrameworkInterface { * * @param contact A Contact instance */ - protected final void setContact (final Contact contact) { + protected void setContact (final Contact contact) { this.contact = contact; } diff --git a/src/org/mxchange/jcore/model/contact/BaseContact.java b/src/org/mxchange/jcore/model/contact/BaseContact.java index 2202b00..916a0f9 100644 --- a/src/org/mxchange/jcore/model/contact/BaseContact.java +++ b/src/org/mxchange/jcore/model/contact/BaseContact.java @@ -167,7 +167,7 @@ public class BaseContact extends BaseFrameworkSystem implements Contact, Compara * @param birthday the birthday to set */ @Override - public final void setBirthday (final String birthday) { + public void setBirthday (final String birthday) { this.birthday = birthday; } @@ -177,7 +177,7 @@ public class BaseContact extends BaseFrameworkSystem implements Contact, Compara * @return the cellphoneNumber */ @Override - public final String getCellphoneNumber () { + public String getCellphoneNumber () { return this.cellphoneNumber; } @@ -187,7 +187,7 @@ public class BaseContact extends BaseFrameworkSystem implements Contact, Compara * @param cellphoneNumber the cellphoneNumber to set */ @Override - public final void setCellphoneNumber (final String cellphoneNumber) { + public void setCellphoneNumber (final String cellphoneNumber) { this.cellphoneNumber = cellphoneNumber; } @@ -207,7 +207,7 @@ public class BaseContact extends BaseFrameworkSystem implements Contact, Compara * @param city the city to set */ @Override - public final void setCity (final String city) { + public void setCity (final String city) { this.city = city; } @@ -227,7 +227,7 @@ public class BaseContact extends BaseFrameworkSystem implements Contact, Compara * @param comment the comment to set */ @Override - public final void setComment (final String comment) { + public void setComment (final String comment) { this.comment = comment; } @@ -247,7 +247,7 @@ public class BaseContact extends BaseFrameworkSystem implements Contact, Compara * @param companyName the companyName to set */ @Override - public final void setCompanyName (final String companyName) { + public void setCompanyName (final String companyName) { this.companyName = companyName; } @@ -256,7 +256,7 @@ public class BaseContact extends BaseFrameworkSystem implements Contact, Compara * @return the contactId */ @Override - public final Long getContactId () { + public Long getContactId () { return this.contactId; } @@ -265,7 +265,7 @@ public class BaseContact extends BaseFrameworkSystem implements Contact, Compara * @param contactId the contactId to set */ @Override - public final void setContactId (final Long contactId) { + public void setContactId (final Long contactId) { this.contactId = contactId; } @@ -285,7 +285,7 @@ public class BaseContact extends BaseFrameworkSystem implements Contact, Compara * @param countryCode the countryCode to set */ @Override - public final void setCountryCode (final String countryCode) { + public void setCountryCode (final String countryCode) { this.countryCode = countryCode; } @@ -305,7 +305,7 @@ public class BaseContact extends BaseFrameworkSystem implements Contact, Compara * @param emailAddress the emailAddress to set */ @Override - public final void setEmailAddress (final String emailAddress) { + public void setEmailAddress (final String emailAddress) { this.emailAddress = emailAddress; } @@ -326,7 +326,7 @@ public class BaseContact extends BaseFrameworkSystem implements Contact, Compara * @param familyName the familyName to set */ @Override - public final void setFamilyName (final String familyName) { + public void setFamilyName (final String familyName) { /* NOISY-DEBUG: */ this.getLogger().trace(MessageFormat.format("familyName={0} - CALLED!", familyName)); //NOI18N this.familyName = familyName; } @@ -347,7 +347,7 @@ public class BaseContact extends BaseFrameworkSystem implements Contact, Compara * @param faxNumber the faxNumber to set */ @Override - public final void setFaxNumber (final String faxNumber) { + public void setFaxNumber (final String faxNumber) { this.faxNumber = faxNumber; } @@ -357,7 +357,7 @@ public class BaseContact extends BaseFrameworkSystem implements Contact, Compara * @return the firstName */ @Override - public final String getFirstName () { + public String getFirstName () { return this.firstName; } @@ -367,7 +367,7 @@ public class BaseContact extends BaseFrameworkSystem implements Contact, Compara * @param firstName the firstName to set */ @Override - public final void setFirstName (final String firstName) { + public void setFirstName (final String firstName) { this.firstName = firstName; } @@ -387,7 +387,7 @@ public class BaseContact extends BaseFrameworkSystem implements Contact, Compara * @param gender the gender to set */ @Override - public final void setGender (final Gender gender) { + public void setGender (final Gender gender) { this.gender = gender; } @@ -407,7 +407,7 @@ public class BaseContact extends BaseFrameworkSystem implements Contact, Compara * @param houseNumber the houseNumber to set */ @Override - public final void setHouseNumber (final Long houseNumber) { + public void setHouseNumber (final Long houseNumber) { this.houseNumber = houseNumber; } @@ -427,7 +427,7 @@ public class BaseContact extends BaseFrameworkSystem implements Contact, Compara * @param phoneNumber the phoneNumber to set */ @Override - public final void setPhoneNumber (final String phoneNumber) { + public void setPhoneNumber (final String phoneNumber) { this.phoneNumber = phoneNumber; } @@ -447,7 +447,7 @@ public class BaseContact extends BaseFrameworkSystem implements Contact, Compara * @param street the street to set */ @Override - public final void setStreet (final String street) { + public void setStreet (final String street) { this.street = street; } @@ -471,7 +471,7 @@ public class BaseContact extends BaseFrameworkSystem implements Contact, Compara * @return the zipCode */ @Override - public final Long getZipCode () { + public Long getZipCode () { return this.zipCode; } @@ -481,7 +481,7 @@ public class BaseContact extends BaseFrameworkSystem implements Contact, Compara * @param zipCode the zipCode to set */ @Override - public final void setZipCode (final Long zipCode) { + public void setZipCode (final Long zipCode) { this.zipCode = zipCode; } @@ -503,7 +503,7 @@ public class BaseContact extends BaseFrameworkSystem implements Contact, Compara * @return Own data? */ @Override - public final boolean isOwnContact () { + public boolean isOwnContact () { return this.ownContact; } @@ -537,7 +537,7 @@ public class BaseContact extends BaseFrameworkSystem implements Contact, Compara * Enables the flag "own data" which signals that this contact is the user's * own data. */ - protected final void enableFlagOwnContact () { + protected void enableFlagOwnContact () { this.ownContact = true; } diff --git a/src/org/mxchange/jcore/model/contact/gender/GenderUtils.java b/src/org/mxchange/jcore/model/contact/gender/GenderUtils.java index c971cba..f5ed6e7 100644 --- a/src/org/mxchange/jcore/model/contact/gender/GenderUtils.java +++ b/src/org/mxchange/jcore/model/contact/gender/GenderUtils.java @@ -26,7 +26,7 @@ import org.mxchange.jcore.BaseFrameworkSystem; * * @author Roland Haeder */ -public final class GenderUtils extends BaseFrameworkSystem { +public class GenderUtils extends BaseFrameworkSystem { /** * Private contructor as this is an utility class */ -- 2.39.5