From 81436f1b3a103356d1580ef7be1b7306d36b2b7c Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 15 Oct 2015 09:50:40 +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/jcontacts-business-core.jar | Bin 54155 -> 54266 bytes lib/jcontacts-core.jar | Bin 20748 -> 20850 bytes lib/jcore-logger-lib.jar | Bin 2533 -> 2524 bytes lib/jcore-swing.jar | Bin 6808 -> 6804 bytes lib/jcore.jar | Bin 13656 -> 13647 bytes lib/jcountry-core.jar | Bin 6194 -> 6200 bytes lib/jphone-core.jar | Bin 22744 -> 22795 bytes .../application/AddressbookApplication.java | 52 +++++++-------- .../addressbook/client/AddressbookClient.java | 36 +++++------ .../client/BaseAddressbookClient.java | 9 +-- .../client/console/ConsoleClient.java | 2 +- .../client/gui/AddressbookFrame.java | 14 ++-- .../addressbook/client/gui/SwingClient.java | 2 +- .../facade/contact/ContactFacade.java | 61 +++++++++--------- .../mxchange/addressbook/menu/BaseMenu.java | 5 +- src/org/mxchange/addressbook/menu/Menu.java | 6 +- .../menu/item/SelectableMenuItem.java | 6 +- .../menu/item/console/ConsoleMenuItem.java | 38 +++++------ 18 files changed, 116 insertions(+), 115 deletions(-) diff --git a/lib/jcontacts-business-core.jar b/lib/jcontacts-business-core.jar index b0ead65c4474b20f1881740895a946c1f63b4ae4..2314d5552061d032db5c327684ab92a975c5db13 100644 GIT binary patch delta 3154 zcmaKuc~Di?9ml`-UU=ud%R|Hxh@v7WsEiwk(cmsxk{A)(0TmaJYKRyyB34|o3zLTD zi3^D+Aj+l@dWj1}(P~6dshYpq$xO_2nmTFIIGsuDWYPY9=RIJqo#~yq_ji70z2DFI zou#za__5XqOr2}^nSc`rOPTKp91$3rGC%oBNNzMc3hqh}Q* z4v8Bxam=`^=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?!?h4Jujk;4p8v!w&Ef6mnQMeGk6rJIEcri(Mm!Ka4oLO84DB-{I1xc9-9E8+q>| z|2pbx{I2wmQQ$z>eH(?>QC94}4*xwAO&1iqK7cXp^t+OG;kkp|KYhhX+YdgdxyjL8 zT&mz#F&(l?poH^Yg)uZ>g8RTQANwhLrc#Uzs6ZX|!i^GyQO~97VxMu=H?n_PT8u0x zt7>LRscmbbV^HZRd@y-x_VTFXBIrmhAa8J4<6s43neC znf(or%i9|-iTwTHShi^{E_~T&kjEcCdmf`a{586l^mxLrH{+K5rSHT`9Al!Y(7%XV z<v&bS&#zJ67WOO*UL;+^bg~syA7k=deSb*{z!D=T=hd>t9;M z&OeJs-(ddER?us^W`8sa0{`#6cx3<1))k#dL~WZL=l_v`9dJ|MObpnI{a2#Iv3H2W O`*mnMlJn;gvHKsW&7PhB diff --git a/lib/jcore-logger-lib.jar b/lib/jcore-logger-lib.jar index 5049937263bc38db18ddd3a2d142e3f0d86881ed..ce30ba8ab061bc1a1e57a982ffaeea02ad9cb21f 100644 GIT binary patch delta 428 zcmaDVd`Fl!z?+$ci-CcIfg#A(eWpS!I)Tv!OwVU@0@F_zJwfzl1119| zFe8~IAIzA1mCXXx&dE~jrh!1U?m!2?0SlZZ!0^`b2#}Xwl&&A(&B!Fe40k??4qg-; z&n7QmmjSzEKf5%OAmikGM%l?f*?APuEmB0$<^@uyI@ybZ3qzqgio#CD$@WZ|ljm~q zfGt_WAYpR5_2XlS7!$4y(kZ+K5Kxe$#RTlU^<-9224+5bOO`2 z89hPtW_2b5CNLw4B_GU~e1^>e)$+-L?51Enp6t@%XMxViFG|-B@MdHZVTQYSay7fO z?R%(PZbfoNVqSVGx*~U=JRC^FSpp1i9inSXz?+$ci-CcIfuYsceQrX!i$LG%B>6z^x52p7{P)5i!Y(31(*at*clq=Jd^vFI3^zu6x_UySB;I^0_Y)7 zz=J~hp0F%83pntA0t_sh*+guaz_IBjX2FY+ekON|nFfNQ6{HXbSYQkW0fx7ZM}WNi zqICTLZ$>5&W_VIW(ZP$N zDWLPkCPzvNDPZInxPAtPC5>LJU`v6SXYv+FA+Q-Ifo61agN09Vb5GtS$pbb6B>|wA b;l~SgxT;uyH!B-Rjt>aEfstq|2I2t#gD|`= delta 906 zcmbPYI>VGVz?+$ci-CcIfx)WLZz8V-uVtg3yX_{8M+FQF3YpR5_2XlS7){W>b)orrao&h1C5w0$7l@VP7YzT0`n&_ z+JWgyjFw=UkI5cP2QayV=*_d3b}@nNK6v};+7GM@3?DWpvL>@|CNnTIFaez+HF+bK zu%!@(_BIC2jX*v#g9wlmVqgK1`V6cLh79}+rVNq{W(=Z05iy7!AT18$fpkl8$)KCX zh0QE$pjoy+vmAkDIpHv?2i+`2p~=U%_hed}4H%Lbm4jl#D%HVLB#(juU z5ELheY}=`rzPvp|jB$?amM;8@x(CM|vzs64+YT|dB^kx7IZk|sbg_)$!n@%?08 zaT#!Y>4-}+Nij}-$S9?QrqCU19h8uVa|9UPItG9>OtzO~pS(ew2W-xMpgFxTVQzk8 zvp~s5Kth`797tMevcCiuSVs&{h>Hm*qyY3e+vNEY5QEkMg?(Vc0+WABa4CR->rdt( z?rdPf0bvukV;C5gG)@C4mI69P1FR69-hgRN7e!$(E7-EPf}E2#ND9e=Oci=#alW4xLG 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&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Zr8Q@COPG6@()9<_3!_%^8u;_z;tiaLkW2!xFZ^gOkXkcB8O*9!Sk!(IL^*tY}3W zxkw}E0HaQ$w30A}@u*KAlf0DvPf|6{4%a*GY@@wBxnug+J+80)Nw;rbGtt9GhP9 xAMgCbxAJaBiQpFB9!u)L>=+84YGYXkrQ delta 666 zcmdmCu*rZoz?+$ci-CcIfx)QJZz8XTpkbq*yX_{8M+FQF3?M8rIZ;e}Vyv-(884S} zQEFmIYKpE?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(ih29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0O!ZiBVzWZc@VZm1&!=sF@`fPNw(%OB6 z=NwiL(epedo?=F#5AD1U8EAV=&1#){u5g@ok#-BWp@KVhUyz%qf@` zI4o3Uu+~&p55|a^S7VcOm$5+CJ^AzppOb;mfuMp#6JEfQI#v5qswlIAPBf*z`WS*b z)U#y&AA&thz6}D_#RUB?gZNn=OB|j746^3cK%+ivx)<-++s*e<#AALZuwOez=w_fI zz+W|spZrpir*!;MbBA$*k+Y?(M~GzCB}bCR!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/addressbook/application/AddressbookApplication.java b/src/org/mxchange/addressbook/application/AddressbookApplication.java index c84b7f4..20b26ac 100644 --- a/src/org/mxchange/addressbook/application/AddressbookApplication.java +++ b/src/org/mxchange/addressbook/application/AddressbookApplication.java @@ -52,6 +52,25 @@ public class AddressbookApplication extends BaseApplication implements Applicati */ public static final String APP_VERSION = "0.0"; //NOI18N + /** + * Main method (entry point) + *

+ * @param args the command line arguments + */ + public static void main (String[] args) { + // Start application + new AddressbookApplication().start(args); + } + + /** + * Getter for printable application name + *

+ * @return A printable name + */ + public static String printableTitle () { + return MessageFormat.format("{0} v{1}", APP_TITLE, APP_VERSION); //NOI18N + } + /** * Console client is enabled by default */ @@ -91,25 +110,6 @@ public class AddressbookApplication extends BaseApplication implements Applicati this.init(); } - /** - * Main method (entry point) - *

- * @param args the command line arguments - */ - public static void main (String[] args) { - // Start application - new AddressbookApplication().start(args); - } - - /** - * Getter for printable application name - *

- * @return A printable name - */ - public static String printableTitle () { - return MessageFormat.format("{0} v{1}", APP_TITLE, APP_VERSION); //NOI18N - } - @Override public void doBootstrap () { this.getLogger().logDebug("Initializing application ..."); //NOI18N @@ -289,19 +289,18 @@ public class AddressbookApplication extends BaseApplication implements Applicati private void parseArguments (final String[] args) { // Trace message this.getLogger().logTrace(MessageFormat.format("args()={0} - CALLED!", args.length)); //NOI18N - // Debug message this.getLogger().logDebug(MessageFormat.format("Parsing {0} arguments ...", args.length)); //NOI18N - for (final String arg : args) { // Switch on it switch (arg) { - case "-console": //NOI18N - enableConsoleClient(); + case "-console": + //NOI18N + this.enableConsoleClient(); break; - - case "-gui": //NOI18N - enableGuiClient(); + case "-gui": + //NOI18N + this.enableGuiClient(); break; } } @@ -390,4 +389,5 @@ public class AddressbookApplication extends BaseApplication implements Applicati this.getLogger().logException(exception); } + } diff --git a/src/org/mxchange/addressbook/client/AddressbookClient.java b/src/org/mxchange/addressbook/client/AddressbookClient.java index 4961722..4a4b67a 100644 --- a/src/org/mxchange/addressbook/client/AddressbookClient.java +++ b/src/org/mxchange/addressbook/client/AddressbookClient.java @@ -35,56 +35,56 @@ public interface AddressbookClient extends Client { *

* @param contact Contact to show address from */ - public void displayAddressBox (final Contact contact); + void displayAddressBox (final Contact contact); /** * Displays a "box" for the name *

* @param contact Contact to show name from */ - public void displayNameBox (final Contact contact); + void displayNameBox (final Contact contact); /** * Displays a "box" for other data *

* @param contact Contact to show other data from */ - public void displayOtherDataBox (final Contact contact); + void displayOtherDataBox (final Contact contact); /** * Shows given contact instamce *

* @param contact Contact instance */ - public void show (final Contact contact); + void show (final Contact contact); /** * The user changes own address data *

* @param contact Contact instance to change */ - public void doChangeOwnAddressData (final Contact contact); + void doChangeOwnAddressData (final Contact contact); /** * The user changes own name data *

* @param contact */ - public void doChangeOwnNameData (final Contact contact); + void doChangeOwnNameData (final Contact contact); /** * The user changes own other data *

* @param contact Constact instance to change */ - public void doChangeOwnOtherData (final Contact contact); + void doChangeOwnOtherData (final Contact contact); /** * Allows the user to enter own data *

* @return Finished Contact instance */ - public Contact doEnterOwnData (); + Contact doEnterOwnData (); /** * Asks the user for a choice and proceeds accordingly @@ -93,7 +93,7 @@ public interface AddressbookClient extends Client { * @throws org.mxchange.jcore.exceptions.MenuInitializationException If the * menu cannot be initialized */ - public void doUserMenuChoice () throws UnhandledUserChoiceException, MenuInitializationException; + void doUserMenuChoice () throws UnhandledUserChoiceException, MenuInitializationException; /** * Asks the the user to enter a single character which must match validChars @@ -103,7 +103,7 @@ public interface AddressbookClient extends Client { *

* @return Allowed character */ - public char enterChar (final char[] validChars, final String message); + char enterChar (final char[] validChars, final String message); /** * Asks the user to enter his/her gender (M=Male, F=Female, C=Company) @@ -112,7 +112,7 @@ public interface AddressbookClient extends Client { *

* @return Gender enum */ - public Gender enterGender (final String message); + Gender enterGender (final String message); /** * Reads an integer (int) from the user @@ -123,7 +123,7 @@ public interface AddressbookClient extends Client { *

* @return Entered string by user or null if empty string is allowed */ - public int enterInt (final int minimum, final int maximum, final String message); + int enterInt (final int minimum, final int maximum, final String message); /** * Reads a string of minimum and maximum length from the user. An empty @@ -137,14 +137,14 @@ public interface AddressbookClient extends Client { *

* @return Entered string by user or null if empty string is allowed */ - public String enterString (final int minLength, final int maxLength, final String message, final boolean allowEmpty); + String enterString (final int minLength, final int maxLength, final String message, final boolean allowEmpty); /** * Setter for current menu choice *

* @param currentMenu Current menu choice */ - public void setCurrentMenu (final String currentMenu); + void setCurrentMenu (final String currentMenu); /** * Some "Getter" for menu item @@ -154,19 +154,19 @@ public interface AddressbookClient extends Client { *

* @return */ - public SelectableMenuItem getMenuItem (final char accessKey, final String text); + SelectableMenuItem getMenuItem (final char accessKey, final String text); /** * Shows current menu selection to the user */ - public void showCurrentMenu (); + void showCurrentMenu (); /** * Shows given menu entry in client *

* @param item Menu item to show */ - public void showEntry (final SelectableMenuItem item); + void showEntry (final SelectableMenuItem item); /** * Let the user choose what to change on the address: [n]ame, [a]ddress, @@ -176,5 +176,5 @@ public interface AddressbookClient extends Client { *

* @throws UnhandledUserChoiceException If choice is not supported */ - public void userChooseChangeContactData (final Contact contact) throws UnhandledUserChoiceException; + void userChooseChangeContactData (final Contact contact) throws UnhandledUserChoiceException; } diff --git a/src/org/mxchange/addressbook/client/BaseAddressbookClient.java b/src/org/mxchange/addressbook/client/BaseAddressbookClient.java index 3dced1b..0091974 100644 --- a/src/org/mxchange/addressbook/client/BaseAddressbookClient.java +++ b/src/org/mxchange/addressbook/client/BaseAddressbookClient.java @@ -18,6 +18,7 @@ package org.mxchange.addressbook.client; import java.sql.SQLException; import java.text.MessageFormat; +import java.util.Collections; import java.util.HashMap; import java.util.Map; import javax.naming.Context; @@ -79,12 +80,12 @@ public abstract class BaseAddressbookClient extends BaseClient implements Addres *

* @return the currentMenu */ - public final String getCurrentMenu () { + public String getCurrentMenu () { return this.currentMenu; } @Override - public final void setCurrentMenu (final String currentMenu) { + public void setCurrentMenu (final String currentMenu) { this.currentMenu = currentMenu; } @@ -141,8 +142,8 @@ public abstract class BaseAddressbookClient extends BaseClient implements Addres *

* @return Map of all menus */ - protected final Map getMenus () { - return this.menus; + protected Map getMenus () { + return Collections.unmodifiableMap(this.menus); } /** diff --git a/src/org/mxchange/addressbook/client/console/ConsoleClient.java b/src/org/mxchange/addressbook/client/console/ConsoleClient.java index 686f192..dd98ba2 100644 --- a/src/org/mxchange/addressbook/client/console/ConsoleClient.java +++ b/src/org/mxchange/addressbook/client/console/ConsoleClient.java @@ -643,7 +643,7 @@ public class ConsoleClient extends BaseAddressbookClient implements AddressbookC } @Override - protected final void fillMenuMap () { + protected void fillMenuMap () { // Trace message this.getLogger().logTrace("CALLED!"); //NOI18N diff --git a/src/org/mxchange/addressbook/client/gui/AddressbookFrame.java b/src/org/mxchange/addressbook/client/gui/AddressbookFrame.java index c1c0346..9a46532 100644 --- a/src/org/mxchange/addressbook/client/gui/AddressbookFrame.java +++ b/src/org/mxchange/addressbook/client/gui/AddressbookFrame.java @@ -78,7 +78,7 @@ public class AddressbookFrame extends BaseAddressbookSystem implements ClientFra *

* @return Returns a singelton instance of this frame */ - public static final ClientFrame getSelfInstance (final Client client) { + public static ClientFrame getSelfInstance (final Client client) { // Is it set? if (!(self instanceof ClientFrame)) { // Create new instance @@ -294,7 +294,7 @@ public class AddressbookFrame extends BaseAddressbookSystem implements ClientFra * @return Field isInitialized */ @Override - public final boolean isInitialized () { + public boolean isInitialized () { return this.initialized; } @@ -507,16 +507,16 @@ public class AddressbookFrame extends BaseAddressbookSystem implements ClientFra // Init 3 panels: // 1) "name" panel - initNameDataPanel(this.addContact); + this.initNameDataPanel(this.addContact); // 2) "address" panel - initAddressDataPanel(this.addContact); + this.initAddressDataPanel(this.addContact); // 3) "other" panel - initOtherDataPanel(this.addContact); + this.initOtherDataPanel(this.addContact); // 4) "Add" and "Cancel" buttons, combined they are unique for this dialog - initAddCancelButtons(); + this.initAddCancelButtons(); // x)Only for developing: /* @@ -858,7 +858,7 @@ public class AddressbookFrame extends BaseAddressbookSystem implements ClientFra // Init other windows: // 1) Add contact - initAddContactDialog(); + this.initAddContactDialog(); // Trace message this.getLogger().logTrace("EXIT!"); //NOI18N diff --git a/src/org/mxchange/addressbook/client/gui/SwingClient.java b/src/org/mxchange/addressbook/client/gui/SwingClient.java index 82cf84e..a4b6e41 100644 --- a/src/org/mxchange/addressbook/client/gui/SwingClient.java +++ b/src/org/mxchange/addressbook/client/gui/SwingClient.java @@ -233,7 +233,7 @@ public class SwingClient extends BaseAddressbookClient implements AddressbookCli * Fills menu map with swing menus */ @Override - protected final void fillMenuMap () { + protected void fillMenuMap () { // Nothing to fill here as the Swing frame is handling this all throw new UnsupportedOperationException("Not implemented."); //NOI18N } diff --git a/src/org/mxchange/addressbook/facade/contact/ContactFacade.java b/src/org/mxchange/addressbook/facade/contact/ContactFacade.java index 1e93bf4..5879608 100644 --- a/src/org/mxchange/addressbook/facade/contact/ContactFacade.java +++ b/src/org/mxchange/addressbook/facade/contact/ContactFacade.java @@ -41,12 +41,12 @@ public interface ContactFacade extends Facade { * @throws org.mxchange.jcontacts.exceptions.ContactAlreadyAddedException If * the contact is already added */ - public void addContact (final Contact contact) throws ContactAlreadyAddedException; + void addContact (final Contact contact) throws ContactAlreadyAddedException; /** * Let the user add a new other address */ - public void doAddOtherAddress (); + void doAddOtherAddress (); /** * The user can change address data, like street, ZIP code, city and country @@ -54,7 +54,7 @@ public interface ContactFacade extends Facade { *

* @param contact Instance to change data */ - public void doChangeAddressData (final Contact contact); + void doChangeAddressData (final Contact contact); /** * The user can change name data, like gender, surname, family name and @@ -62,147 +62,146 @@ public interface ContactFacade extends Facade { *

* @param contact Instance to change data */ - public void doChangeNameData (final Contact contact); + void doChangeNameData (final Contact contact); /** * Let the user change other address */ - public void doChangeOtherAddress (); + void doChangeOtherAddress (); /** * The user can change other data, like phone numbers or comments. *

* @param contact Instance to change data */ - public void doChangeOtherData (final Contact contact); + void doChangeOtherData (final Contact contact); /** * Let the user change own data *

*/ - public void doChangeOwnData (); + void doChangeOwnData (); /** * Let the user delete other address */ - public void doDeleteOtherAddress (); + void doDeleteOtherAddress (); /** * Asks user for own data *

* @throws org.mxchange.jcontacts.exceptions.ContactAlreadyAddedException If * own contact is already added - * @throws java.io.IOException If an IO error was found */ - public void doEnterOwnData () throws ContactAlreadyAddedException; + void doEnterOwnData () throws ContactAlreadyAddedException; /** * List all contacts */ - public void doListContacts (); + void doListContacts (); /** * Searches address book for a contact */ - public void doSearchContacts (); + void doSearchContacts (); /** * Allows the user to enter own cellphone number. *

* @return Cellphone number */ - public DialableCellphoneNumber enterOwnCellNumber (); + DialableCellphoneNumber enterOwnCellNumber (); /** * Allows the user to enter own city name. *

* @return City name */ - public String enterOwnCity (); + String enterOwnCity (); /** * Allows the user to enter comment for own entry. *

* @return Comment */ - public String enterOwnComment (); + String enterOwnComment (); /** * Allows the user to enter own company name. *

* @return Company name */ - public String enterOwnCompanyName (); + String enterOwnCompanyName (); /** * Allows the user to enter own country code. *

* @return Country code */ - public Country enterOwnCountryCode (); + Country enterOwnCountryCode (); /** * Allows the user to enter own email address. *

* @return Email address */ - public String enterOwnEmailAddress (); + String enterOwnEmailAddress (); /** * Allows the user to enter own family name. *

* @return Family name */ - public String enterOwnFamilyName (); + String enterOwnFamilyName (); /** * Allows the user to enter own fax number. *

* @return Fax number */ - public DialableFaxNumber enterOwnFaxNumber (); + DialableFaxNumber enterOwnFaxNumber (); /** * Allows the user to enter own surname. *

* @return Surname */ - public String enterOwnFirstName (); + String enterOwnFirstName (); /** * Allows the user to enter own gender. *

* @return Gender */ - public Gender enterOwnGender (); + Gender enterOwnGender (); /** * Allows the user to enter own phone number. *

* @return Phone number */ - public DialableLandLineNumber enterOwnPhoneNumber (); + DialableLandLineNumber enterOwnPhoneNumber (); /** * Allows the user to enter own street and house number. *

* @return Street and house number */ - public String enterOwnStreet (); + String enterOwnStreet (); /** * Allows the user to enter own ZIP code. *

* @return ZIP code */ - public int enterOwnZipCode (); + int enterOwnZipCode (); /** * Getter for column count *

* @return Column count TODO: This is needed for TableModel in Swing */ - public int getColumnCount (); + int getColumnCount (); /** * Getter for column name at given index. @@ -211,7 +210,7 @@ public interface ContactFacade extends Facade { *

* @return Database column name TODO: This is needed for TableModel in Swing */ - public String getColumnName (final int columnIndex); + String getColumnName (final int columnIndex); /** * Getter for translated column name at given index. @@ -221,7 +220,7 @@ public interface ContactFacade extends Facade { * @return Human-readable column name TODO: This is needed for TableModel in * Swing */ - public String getTranslatedColumnName (final int columnIndex); + String getTranslatedColumnName (final int columnIndex); /** * Somewhat "getter" for value from given row and column index @@ -231,7 +230,7 @@ public interface ContactFacade extends Facade { *

* @return Value from given row/column */ - public Object getValueFromRowColumn (final int rowIndex, final int columnIndex); + Object getValueFromRowColumn (final int rowIndex, final int columnIndex); /** * Checks whether own contact is already added by checking all entries for @@ -241,12 +240,12 @@ public interface ContactFacade extends Facade { *

* @throws java.io.IOException If an IO error occurs */ - public boolean isOwnContactAdded () throws IOException; + boolean isOwnContactAdded () throws IOException; /** * Adds given contact to address book *

* @param contact Contact being added TODO Add check for book size */ - public void registerContact (final Contact contact); + void registerContact (final Contact contact); } diff --git a/src/org/mxchange/addressbook/menu/BaseMenu.java b/src/org/mxchange/addressbook/menu/BaseMenu.java index cf5b916..1d9dfcc 100644 --- a/src/org/mxchange/addressbook/menu/BaseMenu.java +++ b/src/org/mxchange/addressbook/menu/BaseMenu.java @@ -18,6 +18,7 @@ package org.mxchange.addressbook.menu; import java.text.MessageFormat; import java.util.ArrayList; +import java.util.Collections; import java.util.Iterator; import java.util.List; import org.mxchange.addressbook.BaseAddressbookSystem; @@ -87,8 +88,8 @@ public abstract class BaseMenu extends BaseAddressbookSystem implements Menu { *

* @return menuList List of menu entries */ - protected final List getMenuList () { - return this.menuList; + protected List getMenuList () { + return Collections.unmodifiableList(this.menuList); } /** diff --git a/src/org/mxchange/addressbook/menu/Menu.java b/src/org/mxchange/addressbook/menu/Menu.java index a0ba62f..f605563 100644 --- a/src/org/mxchange/addressbook/menu/Menu.java +++ b/src/org/mxchange/addressbook/menu/Menu.java @@ -32,19 +32,19 @@ public interface Menu { *

* @return */ - public int getMenuItemsCount (); + int getMenuItemsCount (); /** * "Getter" for an iterator on all menu items of the current menu *

* @return Iterator on all menu items */ - public Iterator getMenuItemsIterator (); + Iterator getMenuItemsIterator (); /** * Shows this menu *

* @param client Client instance */ - public void show (final Client client); + void show (final Client client); } diff --git a/src/org/mxchange/addressbook/menu/item/SelectableMenuItem.java b/src/org/mxchange/addressbook/menu/item/SelectableMenuItem.java index 59758f8..5f81076 100644 --- a/src/org/mxchange/addressbook/menu/item/SelectableMenuItem.java +++ b/src/org/mxchange/addressbook/menu/item/SelectableMenuItem.java @@ -31,19 +31,19 @@ public interface SelectableMenuItem extends FrameworkInterface { *

* @return the accessKey */ - public char getAccessKey (); + char getAccessKey (); /** * Text to user *

* @return the text */ - public String getText (); + String getText (); /** * Shows this menu item *

* @param client Client instance */ - public void show (final Client client); + void show (final Client client); } diff --git a/src/org/mxchange/addressbook/menu/item/console/ConsoleMenuItem.java b/src/org/mxchange/addressbook/menu/item/console/ConsoleMenuItem.java index 74f8180..339623d 100644 --- a/src/org/mxchange/addressbook/menu/item/console/ConsoleMenuItem.java +++ b/src/org/mxchange/addressbook/menu/item/console/ConsoleMenuItem.java @@ -51,15 +51,33 @@ public class ConsoleMenuItem extends BaseMenuItem implements SelectableMenuItem } @Override - public final char getAccessKey () { + public char getAccessKey () { return this.accessKey; } + /** + * Access key + *

+ * @param accessKey the accessKey to set + */ + private void setAccessKey (final char accessKey) { + this.accessKey = accessKey; + } + @Override public String getText () { return this.text; } + /** + * Text to user + *

+ * @param text the text to set + */ + private void setText (final String text) { + this.text = text; + } + @Override public void show (final Client client) { // Trace message @@ -84,22 +102,4 @@ public class ConsoleMenuItem extends BaseMenuItem implements SelectableMenuItem this.getLogger().logTrace("EXIT!"); //NOI18N } - /** - * Text to user - *

- * @param text the text to set - */ - private void setText (final String text) { - this.text = text; - } - - /** - * Access key - *

- * @param accessKey the accessKey to set - */ - private void setAccessKey (final char accessKey) { - this.accessKey = accessKey; - } - } -- 2.39.5