syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1303453 - in /incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence: beans/ dao/ dao/impl/ validation/entity/
Date Wed, 21 Mar 2012 16:00:21 GMT
Author: coheigea
Date: Wed Mar 21 16:00:20 2012
New Revision: 1303453

URL: http://svn.apache.org/viewvc?rev=1303453&view=rev
Log:
Some more trivial stuff

Modified:
    incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/beans/AbstractExec.java
    incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/dao/UserSearchDAO.java
    incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/dao/impl/UserDAOImpl.java
    incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/dao/impl/UserSearchDAOImpl.java
    incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/validation/entity/SchedTaskValidator.java
    incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/validation/entity/SyncTaskValidator.java

Modified: incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/beans/AbstractExec.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/beans/AbstractExec.java?rev=1303453&r1=1303452&r2=1303453&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/beans/AbstractExec.java
(original)
+++ incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/beans/AbstractExec.java
Wed Mar 21 16:00:20 2012
@@ -34,7 +34,7 @@ public abstract class AbstractExec exten
     protected String status;
 
     /**
-     * Any information to be accompained to this execution's result.
+     * Any information to be accompanied to this execution's result.
      */
     @Lob
     protected String message;

Modified: incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/dao/UserSearchDAO.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/dao/UserSearchDAO.java?rev=1303453&r1=1303452&r2=1303453&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/dao/UserSearchDAO.java
(original)
+++ incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/dao/UserSearchDAO.java
Wed Mar 21 16:00:20 2012
@@ -41,7 +41,7 @@ public interface UserSearchDAO extends D
     /**
      * @param adminRoles the set of admin roles owned by the caller
      * @param searchCondition the search condition
-     * @return the list of users matchin the given search condition
+     * @return the list of users matching the given search condition
      */
     List<SyncopeUser> search(Set<Long> adminRoles, NodeCond searchCondition);
 
@@ -50,7 +50,7 @@ public interface UserSearchDAO extends D
      * @param searchCondition the search condition
      * @param page position of the first result, start from 1
      * @param itemsPerPage number of results per page
-     * @return the list of users matchin the given search condition
+     * @return the list of users matching the given search condition
      */
     List<SyncopeUser> search(Set<Long> adminRoles, NodeCond searchCondition,
int page, int itemsPerPage);
 

Modified: incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/dao/impl/UserDAOImpl.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/dao/impl/UserDAOImpl.java?rev=1303453&r1=1303452&r2=1303453&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/dao/impl/UserDAOImpl.java
(original)
+++ incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/dao/impl/UserDAOImpl.java
Wed Mar 21 16:00:20 2012
@@ -509,7 +509,7 @@ public class UserDAOImpl extends Abstrac
     /**
      * Split an attribute value recurring on provided literals/tokens.
      *
-     * @param attrValue value to be splitted.
+     * @param attrValue value to be split.
      * @param literals literals/tokens.
      * @return
      */

Modified: incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/dao/impl/UserSearchDAOImpl.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/dao/impl/UserSearchDAOImpl.java?rev=1303453&r1=1303452&r2=1303453&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/dao/impl/UserSearchDAOImpl.java
(original)
+++ incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/dao/impl/UserSearchDAOImpl.java
Wed Mar 21 16:00:20 2012
@@ -56,12 +56,8 @@ public class UserSearchDAOImpl extends A
     @Autowired
     private SchemaDAO schemaDAO;
 
-    private final Random random;
-
     public UserSearchDAOImpl() {
         super();
-
-        random = new Random(Calendar.getInstance().getTimeInMillis());
     }
 
     private String getAdminRolesFilter(final Set<Long> adminRoles) {

Modified: incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/validation/entity/SchedTaskValidator.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/validation/entity/SchedTaskValidator.java?rev=1303453&r1=1303452&r2=1303453&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/validation/entity/SchedTaskValidator.java
(original)
+++ incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/validation/entity/SchedTaskValidator.java
Wed Mar 21 16:00:20 2012
@@ -37,7 +37,7 @@ public class SchedTaskValidator extends 
 
         boolean isValid = true;
 
-        Class jobClass = null;
+        Class<?> jobClass = null;
         try {
             jobClass = Class.forName(object.getJobClassName());
             isValid = AbstractTaskJob.class.isAssignableFrom(jobClass);

Modified: incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/validation/entity/SyncTaskValidator.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/validation/entity/SyncTaskValidator.java?rev=1303453&r1=1303452&r2=1303453&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/validation/entity/SyncTaskValidator.java
(original)
+++ incubator/syncope/trunk/core/src/main/java/org/syncope/core/persistence/validation/entity/SyncTaskValidator.java
Wed Mar 21 16:00:20 2012
@@ -60,7 +60,7 @@ public class SyncTaskValidator extends A
                 }
 
                 if (StringUtils.isNotBlank(object.getJobActionsClassName())) {
-                    Class syncJobActionsClass = null;
+                    Class<?> syncJobActionsClass = null;
                     boolean isAssignable = false;
                     try {
                         syncJobActionsClass = Class.forName(object.getJobActionsClassName());



Mime
View raw message