dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #13785
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4513: Minor performance fix in userstore
Merge authors:
Lars Helge Øverland (larshelge)
------------------------------------------------------------
revno: 4513 [merge]
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Sat 2011-09-03 23:35:59 +0200
message:
Minor performance fix in userstore
modified:
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/user/hibernate/HibernateUserStore.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/user/hibernate/HibernateUserStore.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/user/hibernate/HibernateUserStore.java 2011-06-11 19:51:41 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/user/hibernate/HibernateUserStore.java 2011-09-03 21:34:29 +0000
@@ -67,11 +67,6 @@
private GenericIdentifiableObjectStore<UserAuthorityGroup> userRoleStore;
- public GenericIdentifiableObjectStore<UserAuthorityGroup> getUserRoleStore()
- {
- return userRoleStore;
- }
-
public void setUserRoleStore( GenericIdentifiableObjectStore<UserAuthorityGroup> userRoleStore )
{
this.userRoleStore = userRoleStore;
@@ -470,7 +465,7 @@
for ( User user : users )
{
- credentials.add( getUserCredentials( user ) );
+ credentials.add( user.getUserCredentials() );
}
return credentials;