You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by co...@apache.org on 2012/03/22 14:57:21 UTC
svn commit: r1303787 - in
/incubator/syncope/trunk/core/src/main/java/org/syncope/core: propagation/
report/ rest/data/
Author: coheigea
Date: Thu Mar 22 13:57:20 2012
New Revision: 1303787
URL: http://svn.apache.org/viewvc?rev=1303787&view=rev
Log:
More minor spelling updates
Modified:
incubator/syncope/trunk/core/src/main/java/org/syncope/core/propagation/ConnectorFacadeProxy.java
incubator/syncope/trunk/core/src/main/java/org/syncope/core/propagation/PropagationByResource.java
incubator/syncope/trunk/core/src/main/java/org/syncope/core/propagation/PropagationManager.java
incubator/syncope/trunk/core/src/main/java/org/syncope/core/report/Reportlet.java
incubator/syncope/trunk/core/src/main/java/org/syncope/core/rest/data/VirtualSchemaDataBinder.java
Modified: incubator/syncope/trunk/core/src/main/java/org/syncope/core/propagation/ConnectorFacadeProxy.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/main/java/org/syncope/core/propagation/ConnectorFacadeProxy.java?rev=1303787&r1=1303786&r2=1303787&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/main/java/org/syncope/core/propagation/ConnectorFacadeProxy.java (original)
+++ incubator/syncope/trunk/core/src/main/java/org/syncope/core/propagation/ConnectorFacadeProxy.java Thu Mar 22 13:57:20 2012
@@ -65,8 +65,8 @@ import org.syncope.types.PropagationMode
import org.syncope.types.PropagationOperation;
/**
- * Intercept calls to ConnectorFacade's methods and check if the correspondant connector instance has been configured to
- * allow every single operation: if not, simply do nothig.
+ * Intercept calls to ConnectorFacade's methods and check if the corresponding connector instance has been configured to
+ * allow every single operation: if not, simply do nothing.
*/
public class ConnectorFacadeProxy {
@@ -81,7 +81,7 @@ public class ConnectorFacadeProxy {
private final ConnectorFacade connector;
/**
- * Active connecto instance.
+ * Active Connector instance.
*
* @see org.syncope.core.persistence.beans.ConnInstance
*/
@@ -108,10 +108,6 @@ public class ConnectorFacadeProxy {
ConnectorKey key = new ConnectorKey(connInstance.getBundleName(), connInstance.getVersion(), connInstance
.getConnectorName());
- if (key == null) {
- throw new NotFoundException("Connector Key");
- }
-
if (LOG.isDebugEnabled()) {
LOG.debug("\nBundle name: " + key.getBundleName() + "\nBundle version: " + key.getBundleVersion()
+ "\nBundle class: " + key.getConnectorName());
Modified: incubator/syncope/trunk/core/src/main/java/org/syncope/core/propagation/PropagationByResource.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/main/java/org/syncope/core/propagation/PropagationByResource.java?rev=1303787&r1=1303786&r2=1303787&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/main/java/org/syncope/core/propagation/PropagationByResource.java (original)
+++ incubator/syncope/trunk/core/src/main/java/org/syncope/core/propagation/PropagationByResource.java Thu Mar 22 13:57:20 2012
@@ -82,7 +82,7 @@ public class PropagationByResource imple
*
* @param type resource operation type
* @param resourceName target resource
- * @return wether the operation was succeful or not
+ * @return whether the operation was successful or not
*/
public final boolean add(final PropagationOperation type, final String resourceName) {
@@ -110,7 +110,7 @@ public class PropagationByResource imple
*
* @param type resource operation type
* @param resourceNames target resources
- * @return wether the operation was succeful or not
+ * @return whether the operation was successful or not
*/
public boolean addAll(final PropagationOperation type, final Set<String> resourceNames) {
@@ -138,7 +138,7 @@ public class PropagationByResource imple
*
* @param type resource operation type
* @param resourceName target resource
- * @return wether the operation was succeful or not
+ * @return whether the operation was successful or not
*/
public final boolean remove(final PropagationOperation type, final String resourceName) {
@@ -233,7 +233,7 @@ public class PropagationByResource imple
}
/**
- * Wether no operations are present.
+ * whether no operations are present.
*
* @return true if no operations (create / update / delete) and no
* old account ids are present
Modified: incubator/syncope/trunk/core/src/main/java/org/syncope/core/propagation/PropagationManager.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/main/java/org/syncope/core/propagation/PropagationManager.java?rev=1303787&r1=1303786&r2=1303787&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/main/java/org/syncope/core/propagation/PropagationManager.java (original)
+++ incubator/syncope/trunk/core/src/main/java/org/syncope/core/propagation/PropagationManager.java Thu Mar 22 13:57:20 2012
@@ -195,7 +195,7 @@ public class PropagationManager {
* Performs update on each resource associated to the user excluding the specified into 'resourceNames' parameter.
*
* @param user to be propagated.
- * @param enable wether user must be enabled or not.
+ * @param enable whether user must be enabled or not.
* @param syncResourceNames external resource names not to be considered for propagation. Use this during sync and
* disable/enable actions limited to the external resources only.
* @return list of propagation tasks
@@ -416,7 +416,7 @@ public class PropagationManager {
*
* @param user given user
* @param password clear-text password
- * @param enable wether user must be enabled or not
+ * @param enable whether user must be enabled or not
* @param resource target resource
* @return account link + prepared attributes
*/
@@ -497,7 +497,7 @@ public class PropagationManager {
*
* @param user user to be provisioned
* @param password cleartext password to be provisioned
- * @param enable wether user must be enabled or not
+ * @param enable whether user must be enabled or not
* @param propByRes operation to be performed per resource
* @return list of propagation tasks created
*/
@@ -581,10 +581,10 @@ public class PropagationManager {
}
/**
- * Check wether an execution has to be stored, for a given task.
+ * Check whether an execution has to be stored, for a given task.
*
* @param task execution's task
- * @param execution to be decide wether to store or not
+ * @param execution to be decide whether to store or not
* @return true if execution has to be store, false otherwise
*/
private boolean hasToBeregistered(final PropagationTask task, final TaskExec execution) {
@@ -642,7 +642,7 @@ public class PropagationManager {
String taskExecutionMessage = null;
- // Flag to state wether any propagation has been attempted
+ // Flag to state whether any propagation has been attempted
Set<String> propagationAttempted = new HashSet<String>();
ConnectorObject before = null;
Modified: incubator/syncope/trunk/core/src/main/java/org/syncope/core/report/Reportlet.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/main/java/org/syncope/core/report/Reportlet.java?rev=1303787&r1=1303786&r2=1303787&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/main/java/org/syncope/core/report/Reportlet.java (original)
+++ incubator/syncope/trunk/core/src/main/java/org/syncope/core/report/Reportlet.java Thu Mar 22 13:57:20 2012
@@ -40,7 +40,7 @@ public interface Reportlet<T extends Rep
* Actual data extraction for reporting.
*
* @param handler SAX content handler for streaming result
- * @throws SAXException if ther is any problem in SAX handling
+ * @throws SAXException if there is any problem in SAX handling
* @throws ReportException if anything goes wrong
*/
void extract(ContentHandler handler) throws SAXException, ReportException;
Modified: incubator/syncope/trunk/core/src/main/java/org/syncope/core/rest/data/VirtualSchemaDataBinder.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/main/java/org/syncope/core/rest/data/VirtualSchemaDataBinder.java?rev=1303787&r1=1303786&r2=1303787&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/main/java/org/syncope/core/rest/data/VirtualSchemaDataBinder.java (original)
+++ incubator/syncope/trunk/core/src/main/java/org/syncope/core/rest/data/VirtualSchemaDataBinder.java Thu Mar 22 13:57:20 2012
@@ -21,7 +21,6 @@ package org.syncope.core.rest.data;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeanUtils;
-import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Component;
import org.syncope.client.to.VirtualSchemaTO;