Commits

Anonymous committed 7cd516e

- Remove unnecessary fields - email and fullname. They are set and retrieved using PropertySets NOT OSUser fields.
Issue number:
Obtained from:
Submitted by:
Reviewed by:

Comments (0)

Files changed (2)

src/java/com/opensymphony/user/provider/hibernate/entity/HibernateUser.hbm.xml

 
         <property name="name" column="username" type="string" not-null="true" unique="true" />
         <property name="passwordHash" column="passwd" type="string" not-null="false"/>
-        <property name="email" column="email" type="string" not-null="false"/>
 
         <set name="groups" table="os_user_group" inverse="false" cascade="none" lazy="false">
 <!--            <jcs-cache usage="read-write"/>-->

src/java/com/opensymphony/user/provider/hibernate/entity/HibernateUser.java

 
 
 /**
- * @author <a href="mailto:matthew@linjafoo.com">Matthew E. Porter</a>
+ * @author <a href="mailto:matthew@metissian.com">Matthew E. Porter</a>
  */
 public class HibernateUser extends BaseHibernateEntity {
     //~ Instance fields ////////////////////////////////////////////////////////
 
     private Set groups;
-    private String email;
-    private String fullName;
     private String passwordHash;
 
     //~ Methods ////////////////////////////////////////////////////////////////
 
-    public void setEmail(String email) {
-        this.email = email;
-    }
-
-    public String getEmail() {
-        return email;
-    }
-
-    public void setFullName(String name) {
-        this.fullName = name;
-    }
-
-    public String getFullName() {
-        return fullName;
-    }
-
     public List getGroupList() {
         ArrayList groupList = new ArrayList();
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.