]> git.mxchange.org Git - addressbook-ejb.git/commitdiff
Added TODO (testing JPA makes no sense here)
authorRoland Haeder <roland@mxchange.org>
Tue, 17 May 2016 20:50:37 +0000 (22:50 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 21 May 2016 11:50:52 +0000 (13:50 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jusercore/model/user/AddressbookUserSessionBean.java

index d801e2d22e46195d07fc6bc14364f68914e1c710..c7b85c8b547b413082662af05586bfb204950e2b 100644 (file)
@@ -234,10 +234,11 @@ public class AddressbookUserSessionBean extends BaseAddressbookDatabaseBean impl
                User user = (User) query.getSingleResult();
 
                // Should be there
+               // @TODO This assertion tests the JPA
                assert (user instanceof User) : "user is null"; //NOI18N
 
                // Trace message
-               this.getLoggerBeanLocal().logTrace(MessageFormat.format("findUserById: user={0} - EXIT!!", user)); //NOI18N
+               this.getLoggerBeanLocal().logTrace(MessageFormat.format("findUserById: user={0} - EXIT!", user)); //NOI18N
 
                // Return found user
                return user;