]> git.mxchange.org Git - addressbook-lib.git/blobdiff - src/org/mxchange/addressbook/menu/AddressbookMenu.java
Better compare this way:
[addressbook-lib.git] / src / org / mxchange / addressbook / menu / AddressbookMenu.java
index 12257eb08d96aa8d80fbfba4cf5b53d00281e134..b59b13e04556b97cd939ebd7f963513ee74fb9d9 100644 (file)
@@ -46,10 +46,10 @@ public class AddressbookMenu extends BaseAddressbookSystem {
                log.trace(MessageFormat.format("menuList={0},menuType={1},client={2} - CALLED!", menuList, menuType, client)); //NOI18N
 
                // Some instances must be set
-               if (menuList == null) {
+               if (null == menuList) {
                        // Abort here
                        throw new NullPointerException("menuList is null"); //NOI18N
-               } else if (client == null) {
+               } else if (null == client) {
                        // Abort here
                        throw new NullPointerException("contact is null"); //NOI18N
                } else if (!(client instanceof AddressbookClient)) {