From 9b112ee35672a877b2d2d0fa0c1248f9c7491d90 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 15 Oct 2015 09:48:23 +0200 Subject: [PATCH] =?utf8?q?Cleanup=20through=20inspection=20+=20updated=20j?= =?utf8?q?ar(s)=20Signed-off-by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- lib/jcore.jar | Bin 13656 -> 13647 bytes lib/jcountry-core.jar | Bin 6194 -> 6200 bytes lib/jphone-core.jar | Bin 22744 -> 22795 bytes .../mxchange/jcontacts/contact/Contact.java | 78 +++++++++--------- .../jcontacts/contact/gender/GenderUtils.java | 12 +-- .../ContactAlreadyAddedException.java | 2 +- 6 files changed, 46 insertions(+), 46 deletions(-) diff --git a/lib/jcore.jar b/lib/jcore.jar index a6eb677503c0d30b4193df4b45c57ed7216d2652..1c2e5700bc02644df1ffeab194e3f5068109e9bc 100644 GIT binary patch delta 2655 zcmaJ@Yiv|S6#nkr_w6m+N4xE^t!-)PV=vw98z@j{0V|f$3RqjPl%*}D4@&3*q5N2j z{xQMCIw29o_=l(%4W-4F$g4aOe-J}NF-U@u5akyp1f#|n^~~Jc+Fh$RxpQXDob#RU zoSC_E?{wenj&GgsE*C3e2s34p(e>`FoMXiG_QX}q$wzau=@ z(Oyt}s3M~%xHMSUTE292EZ4+c@1_g!M;;d}R|*Q*BvlCMkh58#*~X?NMU20YmK*vq zA*SzKHOg5WGiKVS!-B}CB$x6OW9G&HP&toyLQ>oAVJ|+dMviz9*9fB zQ!4yOm5{kMrf z?CL@X3IK*0ASqeuPR#AZ!?E6HG-E(-@O?RH+=T%^E?gX6(l*ZBQOPXU;@$^8pr~BL4?)|Xd?T~w1JyZKqFPRMi3zyNhm}S zwVYsxBuBCY&cebO>L@zHmO0LrS?6Mu%;RjGagNO7w`*SSQj{6qt014b;Z;motqOE3ZXpF%1k z?l8qUi~{!M0#9TmRv9jp26byd`xMq#pI2bPt8=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rImuAo`s%4yqTG9W?o5ZQC?!s#N`@HKqD?HfXL69KytDiqY;P-Vl)R* zo4XnNm<52QZ~3${Wr_d;0|@I(PGFRqe25YY}IIzU=F*%`V(`n%Z~de|9yH}7J# zW83_fyN8jjkD;HDL2a@jpOTj1?Ifa;Ws844MSV2olQqa>Pv(Se~9r~@ch z#!z0&P!ZtG$RxrH59`TXVivq8fj!w@%*+HBK0t%vfCbJHV0i0z7RbvlO4mm=3TVXS zonq29@1b(J70DTidFiR>icpLdLorrrvVgdnJetkYC`$YoCnqw>^CElzvbIrNnyDQm zAq$SdeT;0APl)q^3_^)wxIqjIOB%&l;p+WZxx@mzS=m7H96+ef#K7=X6vP7nB3Ob} diff --git a/lib/jphone-core.jar b/lib/jphone-core.jar index 97bdd3944061172815f3267f811233b4f4dce6c9..9637788dea980962faa7693e89d80d6fcd735f66 100644 GIT binary patch delta 1671 zcmZ8hZA_b06h8MB`nE6q7*I-}Q$B=22Ll#1X1cNB%7zFP=*oxF`LXe}3ZoPpAfE-s zU|TTkCPp-3W=M>QbGr8ji7}bUOq|)D{aTDMWSWTa2N9#eKgM{@ZE3~#$9wMixaXep zoaf%}K4;hNFmq#_EM(&QV5L&Nz>bkwyu(gO{YO?MWgb5%Wenhk_zzC@@NWV8oy`;d9ipp>jB*L%?Bk(4v zqoj^1FlK;p6_Q|rHcT2|$^c;snx>!`1!fhvtiYUDFWRqF>$4Nsknrj%wGY+%T*rsY zv~IJ9>8`-M_|#IbUoe3OuHLYoW7o9v);xt(ih29KMmums#|X#4jgnTc!zo~(gC5j4 z^uk3c```(bHnarMn>PUc5Q;A1xXbqK9!_{@u8eMG#zoEY!}6cjEC6fbc4qbYITg~N z*NCYu(yxzxL9+EL5Rw=rfgT1_7>r^>>Lqdv(Q1g|hZPtx5LQ+grNA+Ak1H^tz@!3G z2uP6@cKo1YA?@X?ZRBTdwG*O*o<% zai-kIX0==8XQO4O@60k@c01Gp6P?ZqIf!rWb#8CtAht!=Qg4zaSv>Kx!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R!mP2_qM=~6h<7#UlClV`X?IwkFsJM6 zs+nIsv+c^==8~4h6&o!M;b@GBzKM%IYfBfR+ifo5r2h7N${s-R6Ye#CSEBj5E@l%S zebenO@;>97^lqn#e%_uI_sgUk!tWO;7Mj(u!@X_lCH(2zDhEM!QZ(V^y_1BWzCq;D8HE{l=;+Q$|C6Z$6V6& zLLtsQUM_xIGcPpuj$)zs@A!xZ)I2DSL0=^^C>8H3yE7iJywfGAO+x&kGmS1K#A{6a QdNUI{7_=2~cYyo(2Ybzo)c^nh 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 -- 2.39.5