From: Roland Haeder Date: Thu, 15 Oct 2015 07:48:23 +0000 (+0200) Subject: Cleanup through inspection + updated jar(s) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9b112ee35672a877b2d2d0fa0c1248f9c7491d90;p=jcontacts-core.git Cleanup through inspection + updated jar(s) Signed-off-by:Roland Häder --- diff --git a/lib/jcore.jar b/lib/jcore.jar index a6eb677..1c2e570 100644 Binary files a/lib/jcore.jar and b/lib/jcore.jar differ diff --git a/lib/jcountry-core.jar b/lib/jcountry-core.jar index 9daf436..eaf6110 100644 Binary files a/lib/jcountry-core.jar and b/lib/jcountry-core.jar differ diff --git a/lib/jphone-core.jar b/lib/jphone-core.jar index 97bdd39..9637788 100644 Binary files a/lib/jphone-core.jar and b/lib/jphone-core.jar differ diff --git a/src/org/mxchange/jcontacts/contact/Contact.java b/src/org/mxchange/jcontacts/contact/Contact.java index 2ceaaa4..0411207 100644 --- a/src/org/mxchange/jcontacts/contact/Contact.java +++ b/src/org/mxchange/jcontacts/contact/Contact.java @@ -37,259 +37,259 @@ public interface Contact extends Serializable { *

* @param contact Source instance */ - public void copyAll (final Contact contact); + void copyAll (final Contact contact); /** * Birth day *

* @return the birthday */ - public Date getContactBirthday (); + Date getContactBirthday (); /** * Birth day *

* @param birthday the birthday to set */ - public void setContactBirthday (final Date birthday); + void setContactBirthday (final Date birthday); /** * Getter for cellphone number *

* @return Cellphone number */ - public DialableCellphoneNumber getContactCellphoneNumber (); + DialableCellphoneNumber getContactCellphoneNumber (); /** * Setter for cellphone number *

* @param cellphoneNumber Cellphone number */ - public void setContactCellphoneNumber (final DialableCellphoneNumber cellphoneNumber); + void setContactCellphoneNumber (final DialableCellphoneNumber cellphoneNumber); /** * City *

* @return the city */ - public String getContactCity (); + String getContactCity (); /** * City *

* @param city the city to set */ - public void setContactCity (final String city); + void setContactCity (final String city); /** * Comments *

* @return the comment */ - public String getContactComment (); + String getContactComment (); /** * Comments *

* @param comment the comment to set */ - public void setContactComment (final String comment); + void setContactComment (final String comment); /** * Id number *

* @return the contactId */ - public Long getContactId (); + Long getContactId (); /** * Id number *

* @param id the contactId to set */ - public void setContactId (final Long id); + void setContactId (final Long id); /** * Country code *

* @return the countryCode */ - public Country getContactCountry (); + Country getContactCountry (); /** * Country code *

* @param contactCountry the countryCode to set */ - public void setContactCountry (final Country contactCountry); + void setContactCountry (final Country contactCountry); /** * Getter for "created" timestamp *

* @return "created" timestamp */ - public Calendar getContactCreated (); + Calendar getContactCreated (); /** * Setter for "created" timestamp *

* @param created "created" timestamp */ - public void setContactCreated (final Calendar created); + void setContactCreated (final Calendar created); /** * Email address *

* @return the emailAddress */ - public String getContactEmailAddress (); + String getContactEmailAddress (); /** * Email address *

* @param emailAddress the emailAddress to set */ - public void setContactEmailAddress (final String emailAddress); + void setContactEmailAddress (final String emailAddress); /** * Family name *

* @return the familyName */ - public String getContactFamilyName (); + String getContactFamilyName (); /** * Family name *

* @param familyName the familyName to set */ - public void setContactFamilyName (final String familyName); + void setContactFamilyName (final String familyName); /** * Fax number *

* @return the faxNumber */ - public DialableFaxNumber getContactFaxNumber (); + DialableFaxNumber getContactFaxNumber (); /** * Fax number *

* @param faxNumber the faxNumber to set */ - public void setContactFaxNumber (final DialableFaxNumber faxNumber); + void setContactFaxNumber (final DialableFaxNumber faxNumber); /** * First name *

* @return the first name */ - public String getContactFirstName (); + String getContactFirstName (); /** * First name *

* @param firstName the first name to set */ - public void setContactFirstName (final String firstName); + void setContactFirstName (final String firstName); /** * Gender of the contact *

* @return the gender */ - public Gender getContactGender (); + Gender getContactGender (); /** * Gender of the contact *

* @param gender the gender to set */ - public void setContactGender (final Gender gender); + void setContactGender (final Gender gender); /** * House number *

* @return the houseNumber */ - public Short getContactHouseNumber (); + Short getContactHouseNumber (); /** * House number *

* @param houseNumber the houseNumber to set */ - public void setContactHouseNumber (final Short houseNumber); + void setContactHouseNumber (final Short houseNumber); /** * Setter for own contact *

* @param ownContact Own contact */ - public void setContactOwnContact (final Boolean ownContact); + void setContactOwnContact (final Boolean ownContact); /** * Getter for phone number *

* @return Phone number */ - public DialableLandLineNumber getContactPhoneNumber (); + DialableLandLineNumber getContactPhoneNumber (); /** * Setter for phone number *

* @param phoneNumber Phone number */ - public void setContactPhoneNumber (final DialableLandLineNumber phoneNumber); + void setContactPhoneNumber (final DialableLandLineNumber phoneNumber); /** * Street *

* @return the street */ - public String getContactStreet (); + String getContactStreet (); /** * Street *

* @param street the street to set */ - public void setContactStreet (final String street); + void setContactStreet (final String street); /** * Getter for "updated" timestamp *

* @return "updated" timestamp */ - public Calendar getContactUpdated (); + Calendar getContactUpdated (); /** * Getter for "updated" timestamp *

* @param updated "updated" timestamp */ - public void setContactUpdated (final Calendar updated); + void setContactUpdated (final Calendar updated); /** * ZIP code *

* @return the zipCode */ - public Integer getContactZipCode (); + Integer getContactZipCode (); /** * ZIP code *

* @param zipCode the zipCode to set */ - public void setContactZipCode (final Integer zipCode); + void setContactZipCode (final Integer zipCode); /** * Checks whether the contact is user's own data *

* @return Own data? */ - public Boolean isOwnContact (); + Boolean isOwnContact (); /** * Check if contacts are same or throw an exception @@ -299,8 +299,8 @@ public interface Contact extends Serializable { * @return Whether both contacts are same TODO Needs a lot improvements */ @Override - public boolean equals (final Object object); + boolean equals (final Object object); @Override - public int hashCode (); + int hashCode (); } diff --git a/src/org/mxchange/jcontacts/contact/gender/GenderUtils.java b/src/org/mxchange/jcontacts/contact/gender/GenderUtils.java index 5535c21..9a69104 100644 --- a/src/org/mxchange/jcontacts/contact/gender/GenderUtils.java +++ b/src/org/mxchange/jcontacts/contact/gender/GenderUtils.java @@ -56,12 +56,6 @@ public class GenderUtils extends BaseFrameworkSystem { return utils.getMessageStringFromKey(key); } - /** - * Private contructor as this is an utility class - */ - private GenderUtils () { - } - /** * All selectable genders (not UNKNOWN) *

@@ -86,4 +80,10 @@ public class GenderUtils extends BaseFrameworkSystem { // Return it return list; } + + /** + * Private contructor as this is an utility class + */ + private GenderUtils () { + } } diff --git a/src/org/mxchange/jcontacts/exceptions/ContactAlreadyAddedException.java b/src/org/mxchange/jcontacts/exceptions/ContactAlreadyAddedException.java index 8b1f558..f6e07ef 100644 --- a/src/org/mxchange/jcontacts/exceptions/ContactAlreadyAddedException.java +++ b/src/org/mxchange/jcontacts/exceptions/ContactAlreadyAddedException.java @@ -29,7 +29,7 @@ public class ContactAlreadyAddedException extends Exception { /** * Serial number */ - private static final long serialVersionUID = 75844851467L; + private static final long serialVersionUID = 75_844_851_467L; /** * Constructor with a Contact instance