]> git.mxchange.org Git - jjobs-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>
Thu, 26 May 2016 13:14:51 +0000 (15:14 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jusercore/model/user/JobsUserSessionBean.java

index 68a8085db4c5ccc11c2d95023e692f343654daf1..cc483f74ced2b680507dbff2f416de6d65eb7852 100644 (file)
@@ -234,10 +234,11 @@ public class JobsUserSessionBean extends BaseJobsDatabaseBean implements UserSes
                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;