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/16 16:10:27 UTC
svn commit: r1301589 - in
/incubator/syncope/trunk/client/src/main/java/org/syncope: client/to/
client/util/ types/
Author: coheigea
Date: Fri Mar 16 15:10:26 2012
New Revision: 1301589
URL: http://svn.apache.org/viewvc?rev=1301589&view=rev
Log:
More minor spelling/checkstyle updates
Modified:
incubator/syncope/trunk/client/src/main/java/org/syncope/client/to/AttributeTO.java
incubator/syncope/trunk/client/src/main/java/org/syncope/client/to/PropagationTO.java
incubator/syncope/trunk/client/src/main/java/org/syncope/client/util/AttributableOperations.java
incubator/syncope/trunk/client/src/main/java/org/syncope/types/IntMappingType.java
incubator/syncope/trunk/client/src/main/java/org/syncope/types/PasswordPolicySpec.java
incubator/syncope/trunk/client/src/main/java/org/syncope/types/SyncPolicySpec.java
Modified: incubator/syncope/trunk/client/src/main/java/org/syncope/client/to/AttributeTO.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/client/src/main/java/org/syncope/client/to/AttributeTO.java?rev=1301589&r1=1301588&r2=1301589&view=diff
==============================================================================
--- incubator/syncope/trunk/client/src/main/java/org/syncope/client/to/AttributeTO.java (original)
+++ incubator/syncope/trunk/client/src/main/java/org/syncope/client/to/AttributeTO.java Fri Mar 16 15:10:26 2012
@@ -37,7 +37,7 @@ public class AttributeTO extends Abstrac
private List<String> values;
/**
- * Wether this attribute is read-only or not.
+ * Whether this attribute is read-only or not.
*/
private boolean readonly;
@@ -67,7 +67,7 @@ public class AttributeTO extends Abstrac
/**
* @param value an attribute value to be added
- * @return wether the operation succeeded or not
+ * @return whether the operation succeeded or not
*/
public boolean addValue(final String value) {
return value == null || isReadonly()
@@ -77,7 +77,7 @@ public class AttributeTO extends Abstrac
/**
* @param value an attribute value to be removed
- * @return wether the operation succeeded or not
+ * @return whether the operation succeeded or not
*/
public boolean removeValue(final String value) {
return value == null || isReadonly()
Modified: incubator/syncope/trunk/client/src/main/java/org/syncope/client/to/PropagationTO.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/client/src/main/java/org/syncope/client/to/PropagationTO.java?rev=1301589&r1=1301588&r2=1301589&view=diff
==============================================================================
--- incubator/syncope/trunk/client/src/main/java/org/syncope/client/to/PropagationTO.java (original)
+++ incubator/syncope/trunk/client/src/main/java/org/syncope/client/to/PropagationTO.java Fri Mar 16 15:10:26 2012
@@ -47,7 +47,7 @@ public class PropagationTO extends Abstr
private String resourceName;
/**
- * Propagation task excution status.
+ * Propagation task execution status.
*/
private PropagationTaskExecStatus status;
Modified: incubator/syncope/trunk/client/src/main/java/org/syncope/client/util/AttributableOperations.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/client/src/main/java/org/syncope/client/util/AttributableOperations.java?rev=1301589&r1=1301588&r2=1301589&view=diff
==============================================================================
--- incubator/syncope/trunk/client/src/main/java/org/syncope/client/util/AttributableOperations.java (original)
+++ incubator/syncope/trunk/client/src/main/java/org/syncope/client/util/AttributableOperations.java Fri Mar 16 15:10:26 2012
@@ -301,7 +301,7 @@ public final class AttributableOperation
}
}
- return new ArrayList(attrs.values());
+ return new ArrayList<AttributeTO>(attrs.values());
}
private static <T extends AbstractAttributableTO, K extends AbstractAttributableMod> void apply(final T to,
@@ -327,7 +327,7 @@ public final class AttributableOperation
attrs.put(attrName, attrTO);
}
- result.setDerivedAttributes(new ArrayList(attrs.values()));
+ result.setDerivedAttributes(new ArrayList<AttributeTO>(attrs.values()));
// 4. virtual attributes
result.setVirtualAttributes(getUpdateValues(to.getVirtualAttributeMap(), mod.getVirtualAttributesToBeRemoved(),
Modified: incubator/syncope/trunk/client/src/main/java/org/syncope/types/IntMappingType.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/client/src/main/java/org/syncope/types/IntMappingType.java?rev=1301589&r1=1301588&r2=1301589&view=diff
==============================================================================
--- incubator/syncope/trunk/client/src/main/java/org/syncope/types/IntMappingType.java (original)
+++ incubator/syncope/trunk/client/src/main/java/org/syncope/types/IntMappingType.java Fri Mar 16 15:10:26 2012
@@ -64,7 +64,7 @@ public enum IntMappingType {
* @param attributableType attributable type
* @return set of attribute types.
*/
- public static EnumSet getAttributeTypes(final AttributableType attributableType) {
+ public static EnumSet<?> getAttributeTypes(final AttributableType attributableType) {
switch (attributableType) {
case ROLE:
return EnumSet.allOf(RoleMappingType.class);
@@ -79,7 +79,7 @@ public enum IntMappingType {
* Check if attribute type belongs to the specified attributable type set.
*
* @param attributableType attributable type.
- * @param type attrybute type.
+ * @param type attribute type.
* @return true if attribute type belongs to the specified attributable type set.
*/
public static boolean contains(final AttributableType attributableType, final String type) {
Modified: incubator/syncope/trunk/client/src/main/java/org/syncope/types/PasswordPolicySpec.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/client/src/main/java/org/syncope/types/PasswordPolicySpec.java?rev=1301589&r1=1301588&r2=1301589&view=diff
==============================================================================
--- incubator/syncope/trunk/client/src/main/java/org/syncope/types/PasswordPolicySpec.java (original)
+++ incubator/syncope/trunk/client/src/main/java/org/syncope/types/PasswordPolicySpec.java Fri Mar 16 15:10:26 2012
@@ -98,42 +98,42 @@ public class PasswordPolicySpec extends
private boolean mustntEndWithDigit;
/**
- * Specify if must start with a non alphanumeric caracther.
+ * Specify if must start with a non alphanumeric character.
*/
private boolean mustStartWithNonAlpha;
/**
- * Specify if must start with a alphanumeric caracther.
+ * Specify if must start with a alphanumeric character.
*/
private boolean mustStartWithAlpha;
/**
- * Specify if mustn't start with a non alphanumeric caracther.
+ * Specify if mustn't start with a non alphanumeric character.
*/
private boolean mustntStartWithNonAlpha;
/**
- * Specify if mustn't start with a alphanumeric caracther.
+ * Specify if mustn't start with a alphanumeric character.
*/
private boolean mustntStartWithAlpha;
/**
- * Specify if must end with a non alphanumeric caracther.
+ * Specify if must end with a non alphanumeric character.
*/
private boolean mustEndWithNonAlpha;
/**
- * Specify if must end with a alphanumeric caracther.
+ * Specify if must end with a alphanumeric character.
*/
private boolean mustEndWithAlpha;
/**
- * Specify if mustn't end with a non alphanumeric caracther.
+ * Specify if mustn't end with a non alphanumeric character.
*/
private boolean mustntEndWithNonAlpha;
/**
- * Specify if mustn't end with a alphanumeric caracther.
+ * Specify if mustn't end with a alphanumeric character.
*/
private boolean mustntEndWithAlpha;
Modified: incubator/syncope/trunk/client/src/main/java/org/syncope/types/SyncPolicySpec.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/client/src/main/java/org/syncope/types/SyncPolicySpec.java?rev=1301589&r1=1301588&r2=1301589&view=diff
==============================================================================
--- incubator/syncope/trunk/client/src/main/java/org/syncope/types/SyncPolicySpec.java (original)
+++ incubator/syncope/trunk/client/src/main/java/org/syncope/types/SyncPolicySpec.java Fri Mar 16 15:10:26 2012
@@ -39,7 +39,7 @@ public class SyncPolicySpec extends Abst
public ConflictResolutionAction getConflictResolutionAction() {
if (conflictResolutionAction == null) {
- return conflictResolutionAction.IGNORE;
+ return ConflictResolutionAction.IGNORE;
} else {
return conflictResolutionAction;
}