From 84703e3d7f10bc8a8e6d70456d96b9395471528c Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 29 Apr 2016 21:29:49 +0200 Subject: [PATCH] added missing final statement as parameters themself should not be changed --- .../jcontacts/contact/AddressbookContactSessionBean.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java/org/mxchange/jcontacts/contact/AddressbookContactSessionBean.java b/src/java/org/mxchange/jcontacts/contact/AddressbookContactSessionBean.java index 4d25853..56f1cab 100644 --- a/src/java/org/mxchange/jcontacts/contact/AddressbookContactSessionBean.java +++ b/src/java/org/mxchange/jcontacts/contact/AddressbookContactSessionBean.java @@ -48,7 +48,7 @@ public class AddressbookContactSessionBean extends BaseAddressbookDatabaseBean i } @Override - public Contact addContact (Contact contact) throws ContactAlreadyAddedException { + public Contact addContact (final Contact contact) throws ContactAlreadyAddedException { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } @@ -186,7 +186,7 @@ public class AddressbookContactSessionBean extends BaseAddressbookDatabaseBean i // Trace message this.getLoggerBeanLocal().logTrace(MessageFormat.format("isContactFound: foundContact={0} - EXIT!", foundContact)); //NOI18N - // Return status + // Return found contact return foundContact; } -- 2.39.5