svn commit: r769920 - in /ofbiz/trunk/framework/common/src/org/ofbiz/common/authentication: AuthHelper.java api/Authenticator.java api/AuthenticatorException.java example/TestFailAuthenticator.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r769920 - in /ofbiz/trunk/framework/common/src/org/ofbiz/common/authentication: AuthHelper.java api/Authenticator.java api/AuthenticatorException.java example/TestFailAuthenticator.java

jaz-3
Author: jaz
Date: Wed Apr 29 20:45:57 2009
New Revision: 769920

URL: http://svn.apache.org/viewvc?rev=769920&view=rev
Log:
Fixed spelling mistakes in comments

Modified:
    ofbiz/trunk/framework/common/src/org/ofbiz/common/authentication/AuthHelper.java
    ofbiz/trunk/framework/common/src/org/ofbiz/common/authentication/api/Authenticator.java
    ofbiz/trunk/framework/common/src/org/ofbiz/common/authentication/api/AuthenticatorException.java
    ofbiz/trunk/framework/common/src/org/ofbiz/common/authentication/example/TestFailAuthenticator.java

Modified: ofbiz/trunk/framework/common/src/org/ofbiz/common/authentication/AuthHelper.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/src/org/ofbiz/common/authentication/AuthHelper.java?rev=769920&r1=769919&r2=769920&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/src/org/ofbiz/common/authentication/AuthHelper.java (original)
+++ ofbiz/trunk/framework/common/src/org/ofbiz/common/authentication/AuthHelper.java Wed Apr 29 20:45:57 2009
@@ -84,6 +84,7 @@
         }
     }
 
+    @SuppressWarnings("unchecked")
     private synchronized static void loadAuthenticators_internal(LocalDispatcher dispatcher) {
         if (!authenticatorsLoaded) {
             AuthInterfaceResolver resolver = new AuthInterfaceResolver();

Modified: ofbiz/trunk/framework/common/src/org/ofbiz/common/authentication/api/Authenticator.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/src/org/ofbiz/common/authentication/api/Authenticator.java?rev=769920&r1=769919&r2=769920&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/src/org/ofbiz/common/authentication/api/Authenticator.java (original)
+++ ofbiz/trunk/framework/common/src/org/ofbiz/common/authentication/api/Authenticator.java Wed Apr 29 20:45:57 2009
@@ -73,12 +73,12 @@
 
     /**
      * 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();

Modified: ofbiz/trunk/framework/common/src/org/ofbiz/common/authentication/api/AuthenticatorException.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/src/org/ofbiz/common/authentication/api/AuthenticatorException.java?rev=769920&r1=769919&r2=769920&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/src/org/ofbiz/common/authentication/api/AuthenticatorException.java (original)
+++ ofbiz/trunk/framework/common/src/org/ofbiz/common/authentication/api/AuthenticatorException.java Wed Apr 29 20:45:57 2009
@@ -27,6 +27,8 @@
  * AuthenticatorException
  */
 public class AuthenticatorException extends GeneralException {
+    
+    private static final long serialVersionUID = 2836939874682240962L;
 
     /**
      * Creates new <code>GeneralException</code> without detail message.
@@ -78,7 +80,7 @@
      *
      * @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<String> messages, Throwable nested) {
         super(msg, messages, nested);

Modified: ofbiz/trunk/framework/common/src/org/ofbiz/common/authentication/example/TestFailAuthenticator.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/src/org/ofbiz/common/authentication/example/TestFailAuthenticator.java?rev=769920&r1=769919&r2=769920&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/src/org/ofbiz/common/authentication/example/TestFailAuthenticator.java (original)
+++ ofbiz/trunk/framework/common/src/org/ofbiz/common/authentication/example/TestFailAuthenticator.java Wed Apr 29 20:45:57 2009
@@ -101,14 +101,14 @@
     /**
      * 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
      */