]> git.mxchange.org Git - jcontacts-lib.git/commitdiff
Continued a bit:
authorRoland Häder <roland@mxchange.org>
Tue, 26 Apr 2016 11:07:32 +0000 (13:07 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 26 Apr 2016 11:10:51 +0000 (13:10 +0200)
- renamed isContactFound to lookupContact
- lookupFound needs to return the found instance or null to make some other parts working again

src/org/mxchange/jcontacts/contact/ContactSessionBeanRemote.java

index f2d4fa388a3274650080eb6ebac548bea334518b..85e241b6d340b9cfde8831aca90a5f51b6c1728b 100644 (file)
@@ -34,9 +34,9 @@ public interface ContactSessionBeanRemote extends Serializable {
         * <p>
         * @param contact Contact instance to check
         * <p>
-        * @return Whether there is already an entry
+        * @return Whether the found instance or null
         */
-       boolean isContactFound (final Contact contact);
+       Contact lookupContact (final Contact contact);
 
        /**
         * Updates given contact data