/**
* Constructor for building a console menu with access key and text
- *
+ * <p>
* @param accessKey Access key for this menu entry
* @param text Text to show to user
*/
/**
* Access key
- *
+ * <p>
* @return the accessKey
*/
@Override
/**
* Access key
- *
+ * <p>
* @param accessKey the accessKey to set
*/
private void setAccessKey (char accessKey) {
/**
* Text to user
- *
+ * <p>
* @return the text
*/
@Override
/**
* Text to user
- *
+ * <p>
* @param text the text to set
*/
private void setText (String text) {
this.getLogger().trace(MessageFormat.format("client={0} - CALLED!", client)); //NOI18N
// Client must not be null
- if (client == null) {
+ if (null == client) {
// Abort here
throw new NullPointerException("client is null");
} else if (!(client instanceof AddressbookClient)) {