From: <id...@us...> - 2008-10-22 09:27:53
|
Revision: 4833 http://openuss.svn.sourceforge.net/openuss/?rev=4833&view=rev Author: idueppe Date: 2008-10-22 09:25:07 +0000 (Wed, 22 Oct 2008) Log Message: ----------- code polishing Modified Paths: -------------- branches/openuss-plexus-3.1/plexus/plexus-core/src/main/java/org/openuss/security/SecurityServiceImpl.java Modified: branches/openuss-plexus-3.1/plexus/plexus-core/src/main/java/org/openuss/security/SecurityServiceImpl.java =================================================================== --- branches/openuss-plexus-3.1/plexus/plexus-core/src/main/java/org/openuss/security/SecurityServiceImpl.java 2008-10-22 09:24:51 UTC (rev 4832) +++ branches/openuss-plexus-3.1/plexus/plexus-core/src/main/java/org/openuss/security/SecurityServiceImpl.java 2008-10-22 09:25:07 UTC (rev 4833) @@ -45,7 +45,8 @@ private static final String ROLE_PREFIX = "ROLE_"; @Override - protected Collection handleGetAllUsers() throws Exception { + @SuppressWarnings("unchecked") + protected Collection<UserInfo> handleGetAllUsers() throws Exception { return getUserDao().loadAll(UserDao.TRANSFORM_USERINFO); } @@ -399,13 +400,15 @@ } @Override - protected Collection handleGetAllGroups() throws Exception { + @SuppressWarnings("unchecked") + protected Collection<GroupItem> handleGetAllGroups() throws Exception { GroupDao groupDao = getGroupDao(); return groupDao.loadAll(GroupDao.TRANSFORM_GROUPITEM); } @Override - protected List handleGetUsers(UserCriteria criteria) throws Exception { + @SuppressWarnings("unchecked") + protected List<UserInfo> handleGetUsers(UserCriteria criteria) throws Exception { return getUserDao().findUsersByCriteria(UserDao.TRANSFORM_USERINFO, criteria); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |