[jboss-cvs] jboss-seam/examples/registration/src/org/jboss/seam/example/registration ...
Gavin King
gavin.king at jboss.com
Thu Oct 19 16:11:09 EDT 2006
User: gavin
Date: 06/10/19 16:11:09
Modified: examples/registration/src/org/jboss/seam/example/registration
RegisterAction.java
Log:
minor
Revision Changes Path
1.16 +3 -2 jboss-seam/examples/registration/src/org/jboss/seam/example/registration/RegisterAction.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: RegisterAction.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/registration/src/org/jboss/seam/example/registration/RegisterAction.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- RegisterAction.java 12 Oct 2006 02:49:36 -0000 1.15
+++ RegisterAction.java 19 Oct 2006 20:11:09 -0000 1.16
@@ -1,4 +1,4 @@
-//$Id: RegisterAction.java,v 1.15 2006/10/12 02:49:36 gavin Exp $
+//$Id: RegisterAction.java,v 1.16 2006/10/19 20:11:09 gavin Exp $
package org.jboss.seam.example.registration;
import java.util.List;
@@ -32,7 +32,8 @@
List existing = em.createQuery("select u.username from User u where u.username=:username")
.setParameter("username", user.getUsername())
.getResultList();
- if (existing.size()==0)
+
+ if ( existing.size()==0 )
{
em.persist(user);
log.info("Registered new user #{user.username}");
More information about the jboss-cvs-commits
mailing list