From 0914e26d4157f37e90f0a5bc463d26621f7e9653 Mon Sep 17 00:00:00 2001 From: Andrew Zeneski Date: Wed, 29 Apr 2009 20:45:57 +0000 Subject: [PATCH] Fixed spelling mistakes in comments git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769920 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/org/ofbiz/common/authentication/AuthHelper.java | 1 + .../org/ofbiz/common/authentication/api/Authenticator.java | 4 ++-- .../common/authentication/api/AuthenticatorException.java | 4 +++- .../common/authentication/example/TestFailAuthenticator.java | 4 ++-- 4 files changed, 8 insertions(+), 5 deletions(-) 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 */