]> git.mxchange.org Git - pizzaservice-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>
Fri, 20 May 2016 21:17:08 +0000 (23:17 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jusercore/model/user/PizzaUserSessionBean.java

index a959a840ae4eebeda9c571d1faeadde51a281d02..164a434dd08dba06c80a6d2aaf5e0de23fd5c559 100644 (file)
@@ -237,10 +237,11 @@ public class PizzaUserSessionBean extends BasePizzaDatabaseBean implements UserS
                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;