diff --git a/framework/common/src/org/ofbiz/common/authentication/AuthHelper.java b/framework/common/src/org/ofbiz/common/authentication/AuthHelper.java index d2a29f4d06..63b63da09a 100644 --- a/framework/common/src/org/ofbiz/common/authentication/AuthHelper.java +++ b/framework/common/src/org/ofbiz/common/authentication/AuthHelper.java @@ -84,6 +84,7 @@ public class AuthHelper { } } + @SuppressWarnings("unchecked") private synchronized static void loadAuthenticators_internal(LocalDispatcher dispatcher) { if (!authenticatorsLoaded) { AuthInterfaceResolver resolver = new AuthInterfaceResolver(); diff --git a/framework/common/src/org/ofbiz/common/authentication/api/Authenticator.java b/framework/common/src/org/ofbiz/common/authentication/api/Authenticator.java index 8c8cbca434..8b5d986977 100644 --- a/framework/common/src/org/ofbiz/common/authentication/api/Authenticator.java +++ b/framework/common/src/org/ofbiz/common/authentication/api/Authenticator.java @@ -73,12 +73,12 @@ public interface Authenticator { /** * Weight of this authenticator (lower weights are run first) - * @return the weight of this Authenicator + * @return the weight of this Authenticator */ public float getWeight(); /** - * Is the user synchronzied back to OFBiz + * Is the user synchronized back to OFBiz * @return true if the user record is copied to the OFB database */ public boolean isUserSynchronized(); diff --git a/framework/common/src/org/ofbiz/common/authentication/api/AuthenticatorException.java b/framework/common/src/org/ofbiz/common/authentication/api/AuthenticatorException.java index 96bc1baf59..c8f0c84f3e 100644 --- a/framework/common/src/org/ofbiz/common/authentication/api/AuthenticatorException.java +++ b/framework/common/src/org/ofbiz/common/authentication/api/AuthenticatorException.java @@ -27,6 +27,8 @@ import org.ofbiz.base.util.GeneralException; * AuthenticatorException */ public class AuthenticatorException extends GeneralException { + + private static final long serialVersionUID = 2836939874682240962L; /** * Creates new GeneralException without detail message. @@ -78,7 +80,7 @@ public class AuthenticatorException extends GeneralException { * * @param msg the detail message. * @param messages error message list. - * @param nested the nexted exception + * @param nested the nested exception */ public AuthenticatorException(String msg, List messages, Throwable nested) { super(msg, messages, nested); diff --git a/framework/common/src/org/ofbiz/common/authentication/example/TestFailAuthenticator.java b/framework/common/src/org/ofbiz/common/authentication/example/TestFailAuthenticator.java index 4806cdbc03..6552a68ffc 100644 --- a/framework/common/src/org/ofbiz/common/authentication/example/TestFailAuthenticator.java +++ b/framework/common/src/org/ofbiz/common/authentication/example/TestFailAuthenticator.java @@ -101,14 +101,14 @@ public class TestFailAuthenticator implements Authenticator { /** * Weight of this authenticator (lower weights are run first) * - * @return the weight of this Authenicator + * @return the weight of this Authenticator */ public float getWeight() { return 1; } /** - * Is the user synchronzied back to OFBiz + * Is the user synchronized back to OFBiz * * @return true if the user record is copied to the OFB database */