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)) {