Return-Path: X-Original-To: apmail-syncope-commits-archive@www.apache.org Delivered-To: apmail-syncope-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EEC96D07E for ; Fri, 17 May 2013 08:10:18 +0000 (UTC) Received: (qmail 74900 invoked by uid 500); 17 May 2013 08:10:18 -0000 Delivered-To: apmail-syncope-commits-archive@syncope.apache.org Received: (qmail 74859 invoked by uid 500); 17 May 2013 08:10:18 -0000 Mailing-List: contact commits-help@syncope.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@syncope.apache.org Delivered-To: mailing list commits@syncope.apache.org Received: (qmail 74840 invoked by uid 99); 17 May 2013 08:10:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 May 2013 08:10:17 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 May 2013 08:10:12 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 8E0EB238890D; Fri, 17 May 2013 08:09:50 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1483686 - in /syncope/trunk/common/src/main/java/org/apache/syncope/common: search/ services/ types/ validation/ Date: Fri, 17 May 2013 08:09:49 -0000 To: commits@syncope.apache.org From: massi@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130517080950.8E0EB238890D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: massi Date: Fri May 17 08:09:49 2013 New Revision: 1483686 URL: http://svn.apache.org/r1483686 Log: code enhancement Modified: syncope/trunk/common/src/main/java/org/apache/syncope/common/search/NodeCond.java syncope/trunk/common/src/main/java/org/apache/syncope/common/search/ResourceCond.java syncope/trunk/common/src/main/java/org/apache/syncope/common/services/NotificationService.java syncope/trunk/common/src/main/java/org/apache/syncope/common/types/AccountPolicySpec.java syncope/trunk/common/src/main/java/org/apache/syncope/common/types/AttributableType.java syncope/trunk/common/src/main/java/org/apache/syncope/common/types/ConflictResolutionAction.java syncope/trunk/common/src/main/java/org/apache/syncope/common/types/ConnectorCapability.java syncope/trunk/common/src/main/java/org/apache/syncope/common/types/LoggerType.java syncope/trunk/common/src/main/java/org/apache/syncope/common/types/PasswordPolicySpec.java syncope/trunk/common/src/main/java/org/apache/syncope/common/types/PolicyType.java syncope/trunk/common/src/main/java/org/apache/syncope/common/types/PropagationTaskExecStatus.java syncope/trunk/common/src/main/java/org/apache/syncope/common/types/ReportExecStatus.java syncope/trunk/common/src/main/java/org/apache/syncope/common/types/ResourceOperation.java syncope/trunk/common/src/main/java/org/apache/syncope/common/types/SyncPolicySpec.java syncope/trunk/common/src/main/java/org/apache/syncope/common/types/TaskType.java syncope/trunk/common/src/main/java/org/apache/syncope/common/types/UserRequestType.java syncope/trunk/common/src/main/java/org/apache/syncope/common/validation/SyncopeClientCompositeErrorException.java syncope/trunk/common/src/main/java/org/apache/syncope/common/validation/SyncopeClientException.java Modified: syncope/trunk/common/src/main/java/org/apache/syncope/common/search/NodeCond.java URL: http://svn.apache.org/viewvc/syncope/trunk/common/src/main/java/org/apache/syncope/common/search/NodeCond.java?rev=1483686&r1=1483685&r2=1483686&view=diff ============================================================================== --- syncope/trunk/common/src/main/java/org/apache/syncope/common/search/NodeCond.java (original) +++ syncope/trunk/common/src/main/java/org/apache/syncope/common/search/NodeCond.java Fri May 17 08:09:49 2013 @@ -29,6 +29,8 @@ import org.codehaus.jackson.annotate.Jso @XmlType public class NodeCond extends AbstractBaseBean { + private static final long serialVersionUID = 661560782247499526L; + @XmlEnum @XmlType(name = "nodeConditionType") public enum Type { Modified: syncope/trunk/common/src/main/java/org/apache/syncope/common/search/ResourceCond.java URL: http://svn.apache.org/viewvc/syncope/trunk/common/src/main/java/org/apache/syncope/common/search/ResourceCond.java?rev=1483686&r1=1483685&r2=1483686&view=diff ============================================================================== --- syncope/trunk/common/src/main/java/org/apache/syncope/common/search/ResourceCond.java (original) +++ syncope/trunk/common/src/main/java/org/apache/syncope/common/search/ResourceCond.java Fri May 17 08:09:49 2013 @@ -30,6 +30,8 @@ import org.apache.syncope.common.Abstrac @XmlType public class ResourceCond extends AbstractBaseBean implements SearchCond { + private static final long serialVersionUID = 466054166309460002L; + private String resourceName; public String getResourceName() { Modified: syncope/trunk/common/src/main/java/org/apache/syncope/common/services/NotificationService.java URL: http://svn.apache.org/viewvc/syncope/trunk/common/src/main/java/org/apache/syncope/common/services/NotificationService.java?rev=1483686&r1=1483685&r2=1483686&view=diff ============================================================================== --- syncope/trunk/common/src/main/java/org/apache/syncope/common/services/NotificationService.java (original) +++ syncope/trunk/common/src/main/java/org/apache/syncope/common/services/NotificationService.java Fri May 17 08:09:49 2013 @@ -21,7 +21,6 @@ package org.apache.syncope.common.servic import java.util.List; import javax.ws.rs.DELETE; import javax.ws.rs.GET; -import javax.ws.rs.NotFoundException; import javax.ws.rs.POST; import javax.ws.rs.PUT; import javax.ws.rs.Path; Modified: syncope/trunk/common/src/main/java/org/apache/syncope/common/types/AccountPolicySpec.java URL: http://svn.apache.org/viewvc/syncope/trunk/common/src/main/java/org/apache/syncope/common/types/AccountPolicySpec.java?rev=1483686&r1=1483685&r2=1483686&view=diff ============================================================================== --- syncope/trunk/common/src/main/java/org/apache/syncope/common/types/AccountPolicySpec.java (original) +++ syncope/trunk/common/src/main/java/org/apache/syncope/common/types/AccountPolicySpec.java Fri May 17 08:09:49 2013 @@ -91,7 +91,7 @@ public class AccountPolicySpec extends A return allLowerCase; } - public void setAllLowerCase(boolean allLowerCase) { + public void setAllLowerCase(final boolean allLowerCase) { this.allLowerCase = allLowerCase; } @@ -99,7 +99,7 @@ public class AccountPolicySpec extends A return allUpperCase; } - public void setAllUpperCase(boolean allUpperCase) { + public void setAllUpperCase(final boolean allUpperCase) { this.allUpperCase = allUpperCase; } @@ -107,7 +107,7 @@ public class AccountPolicySpec extends A return maxLength; } - public void setMaxLength(int maxLength) { + public void setMaxLength(final int maxLength) { this.maxLength = maxLength; } @@ -115,7 +115,7 @@ public class AccountPolicySpec extends A return minLength; } - public void setMinLength(int minLength) { + public void setMinLength(final int minLength) { this.minLength = minLength; } @@ -128,7 +128,7 @@ public class AccountPolicySpec extends A return prefixesNotPermitted; } - public void setPrefixesNotPermitted(List prefixesNotPermitted) { + public void setPrefixesNotPermitted(final List prefixesNotPermitted) { this.prefixesNotPermitted = prefixesNotPermitted; } @@ -141,7 +141,7 @@ public class AccountPolicySpec extends A return schemasNotPermitted; } - public void setSchemasNotPermitted(List schemasNotPermitted) { + public void setSchemasNotPermitted(final List schemasNotPermitted) { this.schemasNotPermitted = schemasNotPermitted; } @@ -154,7 +154,7 @@ public class AccountPolicySpec extends A return suffixesNotPermitted; } - public void setSuffixesNotPermitted(List suffixesNotPermitted) { + public void setSuffixesNotPermitted(final List suffixesNotPermitted) { this.suffixesNotPermitted = suffixesNotPermitted; } @@ -167,7 +167,7 @@ public class AccountPolicySpec extends A return wordsNotPermitted; } - public void setWordsNotPermitted(List wordsNotPermitted) { + public void setWordsNotPermitted(final List wordsNotPermitted) { this.wordsNotPermitted = wordsNotPermitted; } @@ -175,7 +175,7 @@ public class AccountPolicySpec extends A return propagateSuspension; } - public void setPropagateSuspension(boolean propagateSuspension) { + public void setPropagateSuspension(final boolean propagateSuspension) { this.propagateSuspension = propagateSuspension; } @@ -183,7 +183,7 @@ public class AccountPolicySpec extends A return permittedLoginRetries; } - public void setPermittedLoginRetries(int permittedLoginRetries) { + public void setPermittedLoginRetries(final int permittedLoginRetries) { this.permittedLoginRetries = permittedLoginRetries; } } Modified: syncope/trunk/common/src/main/java/org/apache/syncope/common/types/AttributableType.java URL: http://svn.apache.org/viewvc/syncope/trunk/common/src/main/java/org/apache/syncope/common/types/AttributableType.java?rev=1483686&r1=1483685&r2=1483686&view=diff ============================================================================== --- syncope/trunk/common/src/main/java/org/apache/syncope/common/types/AttributableType.java (original) +++ syncope/trunk/common/src/main/java/org/apache/syncope/common/types/AttributableType.java Fri May 17 08:09:49 2013 @@ -27,7 +27,7 @@ public enum AttributableType { ROLE, MEMBERSHIP; - public static AttributableType fromString(String value) { + public static AttributableType fromString(final String value) { return valueOf(value.toUpperCase()); } Modified: syncope/trunk/common/src/main/java/org/apache/syncope/common/types/ConflictResolutionAction.java URL: http://svn.apache.org/viewvc/syncope/trunk/common/src/main/java/org/apache/syncope/common/types/ConflictResolutionAction.java?rev=1483686&r1=1483685&r2=1483686&view=diff ============================================================================== --- syncope/trunk/common/src/main/java/org/apache/syncope/common/types/ConflictResolutionAction.java (original) +++ syncope/trunk/common/src/main/java/org/apache/syncope/common/types/ConflictResolutionAction.java Fri May 17 08:09:49 2013 @@ -32,7 +32,7 @@ public enum ConflictResolutionAction { // sync all ALL; - public static ConflictResolutionAction fromString(String value) { + public static ConflictResolutionAction fromString(final String value) { return ConflictResolutionAction.valueOf(value.toUpperCase()); } } Modified: syncope/trunk/common/src/main/java/org/apache/syncope/common/types/ConnectorCapability.java URL: http://svn.apache.org/viewvc/syncope/trunk/common/src/main/java/org/apache/syncope/common/types/ConnectorCapability.java?rev=1483686&r1=1483685&r2=1483686&view=diff ============================================================================== --- syncope/trunk/common/src/main/java/org/apache/syncope/common/types/ConnectorCapability.java (original) +++ syncope/trunk/common/src/main/java/org/apache/syncope/common/types/ConnectorCapability.java Fri May 17 08:09:49 2013 @@ -35,7 +35,7 @@ public enum ConnectorCapability { SEARCH, SYNC; - public static ConnectorCapability fromString(String value) { + public static ConnectorCapability fromString(final String value) { return ConnectorCapability.valueOf(value.toUpperCase()); } Modified: syncope/trunk/common/src/main/java/org/apache/syncope/common/types/LoggerType.java URL: http://svn.apache.org/viewvc/syncope/trunk/common/src/main/java/org/apache/syncope/common/types/LoggerType.java?rev=1483686&r1=1483685&r2=1483686&view=diff ============================================================================== --- syncope/trunk/common/src/main/java/org/apache/syncope/common/types/LoggerType.java (original) +++ syncope/trunk/common/src/main/java/org/apache/syncope/common/types/LoggerType.java Fri May 17 08:09:49 2013 @@ -35,7 +35,7 @@ public enum LoggerType { */ AUDIT; - public static LoggerType fromString(String value) { + public static LoggerType fromString(final String value) { return LoggerType.valueOf(value.toUpperCase()); } } Modified: syncope/trunk/common/src/main/java/org/apache/syncope/common/types/PasswordPolicySpec.java URL: http://svn.apache.org/viewvc/syncope/trunk/common/src/main/java/org/apache/syncope/common/types/PasswordPolicySpec.java?rev=1483686&r1=1483685&r2=1483686&view=diff ============================================================================== --- syncope/trunk/common/src/main/java/org/apache/syncope/common/types/PasswordPolicySpec.java (original) +++ syncope/trunk/common/src/main/java/org/apache/syncope/common/types/PasswordPolicySpec.java Fri May 17 08:09:49 2013 @@ -155,7 +155,7 @@ public class PasswordPolicySpec extends return digitRequired; } - public void setDigitRequired(boolean digitRequired) { + public void setDigitRequired(final boolean digitRequired) { this.digitRequired = digitRequired; } @@ -163,7 +163,7 @@ public class PasswordPolicySpec extends return lowercaseRequired; } - public void setLowercaseRequired(boolean lowercaseRequired) { + public void setLowercaseRequired(final boolean lowercaseRequired) { this.lowercaseRequired = lowercaseRequired; } @@ -171,7 +171,7 @@ public class PasswordPolicySpec extends return maxLength; } - public void setMaxLength(int maxLength) { + public void setMaxLength(final int maxLength) { this.maxLength = maxLength; } @@ -179,7 +179,7 @@ public class PasswordPolicySpec extends return minLength; } - public void setMinLength(int minLength) { + public void setMinLength(final int minLength) { this.minLength = minLength; } @@ -187,7 +187,7 @@ public class PasswordPolicySpec extends return mustEndWithDigit; } - public void setMustEndWithDigit(boolean mustEndWithDigit) { + public void setMustEndWithDigit(final boolean mustEndWithDigit) { this.mustEndWithDigit = mustEndWithDigit; } @@ -195,7 +195,7 @@ public class PasswordPolicySpec extends return mustEndWithNonAlpha; } - public void setMustEndWithNonAlpha(boolean mustEndWithNonAlpha) { + public void setMustEndWithNonAlpha(final boolean mustEndWithNonAlpha) { this.mustEndWithNonAlpha = mustEndWithNonAlpha; } @@ -203,7 +203,7 @@ public class PasswordPolicySpec extends return mustStartWithDigit; } - public void setMustStartWithDigit(boolean mustStartWithDigit) { + public void setMustStartWithDigit(final boolean mustStartWithDigit) { this.mustStartWithDigit = mustStartWithDigit; } @@ -211,7 +211,7 @@ public class PasswordPolicySpec extends return mustStartWithNonAlpha; } - public void setMustStartWithNonAlpha(boolean mustStartWithNonAlpha) { + public void setMustStartWithNonAlpha(final boolean mustStartWithNonAlpha) { this.mustStartWithNonAlpha = mustStartWithNonAlpha; } @@ -219,7 +219,7 @@ public class PasswordPolicySpec extends return mustntEndWithDigit; } - public void setMustntEndWithDigit(boolean mustntEndWithDigit) { + public void setMustntEndWithDigit(final boolean mustntEndWithDigit) { this.mustntEndWithDigit = mustntEndWithDigit; } @@ -227,7 +227,7 @@ public class PasswordPolicySpec extends return mustntEndWithNonAlpha; } - public void setMustntEndWithNonAlpha(boolean mustntEndWithNonAlpha) { + public void setMustntEndWithNonAlpha(final boolean mustntEndWithNonAlpha) { this.mustntEndWithNonAlpha = mustntEndWithNonAlpha; } @@ -235,7 +235,7 @@ public class PasswordPolicySpec extends return mustntStartWithDigit; } - public void setMustntStartWithDigit(boolean mustntStartWithDigit) { + public void setMustntStartWithDigit(final boolean mustntStartWithDigit) { this.mustntStartWithDigit = mustntStartWithDigit; } @@ -243,7 +243,7 @@ public class PasswordPolicySpec extends return mustntStartWithNonAlpha; } - public void setMustntStartWithNonAlpha(boolean mustntStartWithNonAlpha) { + public void setMustntStartWithNonAlpha(final boolean mustntStartWithNonAlpha) { this.mustntStartWithNonAlpha = mustntStartWithNonAlpha; } @@ -251,7 +251,7 @@ public class PasswordPolicySpec extends return nonAlphanumericRequired; } - public void setNonAlphanumericRequired(boolean nonAlphanumericRequired) { + public void setNonAlphanumericRequired(final boolean nonAlphanumericRequired) { this.nonAlphanumericRequired = nonAlphanumericRequired; } @@ -264,7 +264,7 @@ public class PasswordPolicySpec extends return prefixesNotPermitted; } - public void setPrefixesNotPermitted(List prefixesNotPermitted) { + public void setPrefixesNotPermitted(final List prefixesNotPermitted) { this.prefixesNotPermitted = prefixesNotPermitted; } @@ -277,7 +277,7 @@ public class PasswordPolicySpec extends return schemasNotPermitted; } - public void setSchemasNotPermitted(List schemasNotPermitted) { + public void setSchemasNotPermitted(final List schemasNotPermitted) { this.schemasNotPermitted = schemasNotPermitted; } @@ -290,7 +290,7 @@ public class PasswordPolicySpec extends return suffixesNotPermitted; } - public void setSuffixesNotPermitted(List suffixesNotPermitted) { + public void setSuffixesNotPermitted(final List suffixesNotPermitted) { this.suffixesNotPermitted = suffixesNotPermitted; } @@ -298,7 +298,7 @@ public class PasswordPolicySpec extends return uppercaseRequired; } - public void setUppercaseRequired(boolean uppercaseRequired) { + public void setUppercaseRequired(final boolean uppercaseRequired) { this.uppercaseRequired = uppercaseRequired; } @@ -311,7 +311,7 @@ public class PasswordPolicySpec extends return wordsNotPermitted; } - public void setWordsNotPermitted(List wordsNotPermitted) { + public void setWordsNotPermitted(final List wordsNotPermitted) { this.wordsNotPermitted = wordsNotPermitted; } @@ -319,7 +319,7 @@ public class PasswordPolicySpec extends return alphanumericRequired; } - public void setAlphanumericRequired(boolean alphanumericRequired) { + public void setAlphanumericRequired(final boolean alphanumericRequired) { this.alphanumericRequired = alphanumericRequired; } @@ -327,7 +327,7 @@ public class PasswordPolicySpec extends return mustEndWithAlpha; } - public void setMustEndWithAlpha(boolean mustEndWithAlpha) { + public void setMustEndWithAlpha(final boolean mustEndWithAlpha) { this.mustEndWithAlpha = mustEndWithAlpha; } @@ -335,7 +335,7 @@ public class PasswordPolicySpec extends return mustStartWithAlpha; } - public void setMustStartWithAlpha(boolean mustStartWithAlpha) { + public void setMustStartWithAlpha(final boolean mustStartWithAlpha) { this.mustStartWithAlpha = mustStartWithAlpha; } @@ -343,7 +343,7 @@ public class PasswordPolicySpec extends return mustntEndWithAlpha; } - public void setMustntEndWithAlpha(boolean mustntEndWithAlpha) { + public void setMustntEndWithAlpha(final boolean mustntEndWithAlpha) { this.mustntEndWithAlpha = mustntEndWithAlpha; } @@ -351,7 +351,7 @@ public class PasswordPolicySpec extends return mustntStartWithAlpha; } - public void setMustntStartWithAlpha(boolean mustntStartWithAlpha) { + public void setMustntStartWithAlpha(final boolean mustntStartWithAlpha) { this.mustntStartWithAlpha = mustntStartWithAlpha; } @@ -359,7 +359,7 @@ public class PasswordPolicySpec extends return historyLength; } - public void setHistoryLength(int historyLength) { + public void setHistoryLength(final int historyLength) { this.historyLength = historyLength; } } Modified: syncope/trunk/common/src/main/java/org/apache/syncope/common/types/PolicyType.java URL: http://svn.apache.org/viewvc/syncope/trunk/common/src/main/java/org/apache/syncope/common/types/PolicyType.java?rev=1483686&r1=1483685&r2=1483686&view=diff ============================================================================== --- syncope/trunk/common/src/main/java/org/apache/syncope/common/types/PolicyType.java (original) +++ syncope/trunk/common/src/main/java/org/apache/syncope/common/types/PolicyType.java Fri May 17 08:09:49 2013 @@ -52,7 +52,7 @@ public enum PolicyType { return description; } - public static PolicyType fromString(String value) { + public static PolicyType fromString(final String value) { return PolicyType.valueOf(value.toUpperCase()); } } Modified: syncope/trunk/common/src/main/java/org/apache/syncope/common/types/PropagationTaskExecStatus.java URL: http://svn.apache.org/viewvc/syncope/trunk/common/src/main/java/org/apache/syncope/common/types/PropagationTaskExecStatus.java?rev=1483686&r1=1483685&r2=1483686&view=diff ============================================================================== --- syncope/trunk/common/src/main/java/org/apache/syncope/common/types/PropagationTaskExecStatus.java (original) +++ syncope/trunk/common/src/main/java/org/apache/syncope/common/types/PropagationTaskExecStatus.java Fri May 17 08:09:49 2013 @@ -43,7 +43,7 @@ public enum PropagationTaskExecStatus { return this == SUCCESS || this == SUBMITTED; } - public static PropagationTaskExecStatus fromString(String value) { + public static PropagationTaskExecStatus fromString(final String value) { return PropagationTaskExecStatus.valueOf(value.toUpperCase()); } } Modified: syncope/trunk/common/src/main/java/org/apache/syncope/common/types/ReportExecStatus.java URL: http://svn.apache.org/viewvc/syncope/trunk/common/src/main/java/org/apache/syncope/common/types/ReportExecStatus.java?rev=1483686&r1=1483685&r2=1483686&view=diff ============================================================================== --- syncope/trunk/common/src/main/java/org/apache/syncope/common/types/ReportExecStatus.java (original) +++ syncope/trunk/common/src/main/java/org/apache/syncope/common/types/ReportExecStatus.java Fri May 17 08:09:49 2013 @@ -28,7 +28,7 @@ public enum ReportExecStatus { SUCCESS, FAILURE; - public static ReportExecStatus fromString(String value) { + public static ReportExecStatus fromString(final String value) { return ReportExecStatus.valueOf(value.toUpperCase()); } } Modified: syncope/trunk/common/src/main/java/org/apache/syncope/common/types/ResourceOperation.java URL: http://svn.apache.org/viewvc/syncope/trunk/common/src/main/java/org/apache/syncope/common/types/ResourceOperation.java?rev=1483686&r1=1483685&r2=1483686&view=diff ============================================================================== --- syncope/trunk/common/src/main/java/org/apache/syncope/common/types/ResourceOperation.java (original) +++ syncope/trunk/common/src/main/java/org/apache/syncope/common/types/ResourceOperation.java Fri May 17 08:09:49 2013 @@ -27,7 +27,7 @@ public enum ResourceOperation { UPDATE, DELETE; - public static ResourceOperation fromString(String value) { + public static ResourceOperation fromString(final String value) { return ResourceOperation.valueOf(value.toUpperCase()); } } Modified: syncope/trunk/common/src/main/java/org/apache/syncope/common/types/SyncPolicySpec.java URL: http://svn.apache.org/viewvc/syncope/trunk/common/src/main/java/org/apache/syncope/common/types/SyncPolicySpec.java?rev=1483686&r1=1483685&r2=1483686&view=diff ============================================================================== --- syncope/trunk/common/src/main/java/org/apache/syncope/common/types/SyncPolicySpec.java (original) +++ syncope/trunk/common/src/main/java/org/apache/syncope/common/types/SyncPolicySpec.java Fri May 17 08:09:49 2013 @@ -77,7 +77,7 @@ public class SyncPolicySpec extends Abst return uAltSearchSchemas; } - public void setuAltSearchSchemas(List uAltSearchSchemas) { + public void setuAltSearchSchemas(final List uAltSearchSchemas) { this.uAltSearchSchemas = uAltSearchSchemas; } @@ -87,7 +87,7 @@ public class SyncPolicySpec extends Abst return rAltSearchSchemas; } - public void setrAltSearchSchemas(List rAltSearchSchemas) { + public void setrAltSearchSchemas(final List rAltSearchSchemas) { this.rAltSearchSchemas = rAltSearchSchemas; } @@ -96,7 +96,7 @@ public class SyncPolicySpec extends Abst return roleJavaRule; } - public void setRoleJavaRule(String roleJavaRule) { + public void setRoleJavaRule(final String roleJavaRule) { this.roleJavaRule = roleJavaRule; } @@ -104,7 +104,7 @@ public class SyncPolicySpec extends Abst return userJavaRule; } - public void setUserJavaRule(String userJavaRule) { + public void setUserJavaRule(final String userJavaRule) { this.userJavaRule = userJavaRule; } } Modified: syncope/trunk/common/src/main/java/org/apache/syncope/common/types/TaskType.java URL: http://svn.apache.org/viewvc/syncope/trunk/common/src/main/java/org/apache/syncope/common/types/TaskType.java?rev=1483686&r1=1483685&r2=1483686&view=diff ============================================================================== --- syncope/trunk/common/src/main/java/org/apache/syncope/common/types/TaskType.java (original) +++ syncope/trunk/common/src/main/java/org/apache/syncope/common/types/TaskType.java Fri May 17 08:09:49 2013 @@ -30,7 +30,7 @@ public enum TaskType { private String name; - private TaskType(String name) { + private TaskType(final String name) { this.name = name; } @@ -39,7 +39,7 @@ public enum TaskType { return name; } - public static TaskType fromString(String name) { + public static TaskType fromString(final String name) { if (name != null) { for (TaskType t : TaskType.values()) { if (t.name.equalsIgnoreCase(name)) { Modified: syncope/trunk/common/src/main/java/org/apache/syncope/common/types/UserRequestType.java URL: http://svn.apache.org/viewvc/syncope/trunk/common/src/main/java/org/apache/syncope/common/types/UserRequestType.java?rev=1483686&r1=1483685&r2=1483686&view=diff ============================================================================== --- syncope/trunk/common/src/main/java/org/apache/syncope/common/types/UserRequestType.java (original) +++ syncope/trunk/common/src/main/java/org/apache/syncope/common/types/UserRequestType.java Fri May 17 08:09:49 2013 @@ -27,7 +27,7 @@ public enum UserRequestType { UPDATE, DELETE; - public static UserRequestType fromString(String value) { + public static UserRequestType fromString(final String value) { return UserRequestType.valueOf(value.toUpperCase()); } Modified: syncope/trunk/common/src/main/java/org/apache/syncope/common/validation/SyncopeClientCompositeErrorException.java URL: http://svn.apache.org/viewvc/syncope/trunk/common/src/main/java/org/apache/syncope/common/validation/SyncopeClientCompositeErrorException.java?rev=1483686&r1=1483685&r2=1483686&view=diff ============================================================================== --- syncope/trunk/common/src/main/java/org/apache/syncope/common/validation/SyncopeClientCompositeErrorException.java (original) +++ syncope/trunk/common/src/main/java/org/apache/syncope/common/validation/SyncopeClientCompositeErrorException.java Fri May 17 08:09:49 2013 @@ -31,7 +31,7 @@ public class SyncopeClientCompositeError private Set exceptions; - public SyncopeClientCompositeErrorException(HttpStatus statusCode) { + public SyncopeClientCompositeErrorException(final HttpStatus statusCode) { super(statusCode); exceptions = new HashSet(); } @@ -40,11 +40,11 @@ public class SyncopeClientCompositeError return !exceptions.isEmpty(); } - public boolean hasException(SyncopeClientExceptionType exceptionType) { + public boolean hasException(final SyncopeClientExceptionType exceptionType) { return getException(exceptionType) != null; } - public SyncopeClientException getException(SyncopeClientExceptionType exceptionType) { + public SyncopeClientException getException(final SyncopeClientExceptionType exceptionType) { boolean found = false; SyncopeClientException syncopeClientException = null; for (Iterator itor = exceptions.iterator(); itor.hasNext() && !found;) { @@ -63,7 +63,7 @@ public class SyncopeClientCompositeError return exceptions; } - public boolean addException(SyncopeClientException exception) { + public boolean addException(final SyncopeClientException exception) { if (exception.getType() == null) { throw new IllegalArgumentException(exception + " does not have the right " + SyncopeClientExceptionType.class.getName() + " set"); Modified: syncope/trunk/common/src/main/java/org/apache/syncope/common/validation/SyncopeClientException.java URL: http://svn.apache.org/viewvc/syncope/trunk/common/src/main/java/org/apache/syncope/common/validation/SyncopeClientException.java?rev=1483686&r1=1483685&r2=1483686&view=diff ============================================================================== --- syncope/trunk/common/src/main/java/org/apache/syncope/common/validation/SyncopeClientException.java (original) +++ syncope/trunk/common/src/main/java/org/apache/syncope/common/validation/SyncopeClientException.java Fri May 17 08:09:49 2013 @@ -36,7 +36,7 @@ public class SyncopeClientException exte elements = new HashSet(); } - public SyncopeClientException(SyncopeClientExceptionType type) { + public SyncopeClientException(final SyncopeClientExceptionType type) { this(); setType(type); } @@ -45,15 +45,15 @@ public class SyncopeClientException exte return type; } - public final void setType(SyncopeClientExceptionType type) { + public final void setType(final SyncopeClientExceptionType type) { this.type = type; } - public boolean addElement(String element) { + public boolean addElement(final String element) { return elements.add(element); } - public boolean removeElement(String element) { + public boolean removeElement(final String element) { return elements.remove(element); } @@ -61,11 +61,11 @@ public class SyncopeClientException exte return elements; } - public void setElements(Set elements) { + public void setElements(final Set elements) { this.elements = elements; } - public void setElements(List elements) { + public void setElements(final List elements) { this.elements.addAll(elements); }