Author: ajaquith
Date: Wed Jun 11 23:26:22 2008
New Revision: 666972

URL: http://svn.apache.org/viewvc?rev=666972&view=rev
Log:
Miscellaneous and varied Java 5 enhancements (such as for-loops), or comments.

Modified:
    incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/auth/AuthorizationManager.java
    incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/auth/UserManager.java

Modified: 
incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/auth/AuthorizationManager.java
URL: 
http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/auth/AuthorizationManager.java?rev=666972&r1=666971&r2=666972&view=diff
==============================================================================
--- 
incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/auth/AuthorizationManager.java 
(original)
+++ 
incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/auth/AuthorizationManager.java 
Wed Jun 11 23:26:22 2008
@@ -519,16 +519,16 @@
     }
 
     /**
-     * Determines whether a Subject posesses a given "static" Permission as
+     * Determines whether a Subject possesses a given "static" Permission as
      * defined in the security policy file. This method uses standard Java 2
      * security calls to do its work. Note that the current access control
      * context's <code>codeBase</code> is effectively <em>this class</em>,
      * not that of the caller. Therefore, this method will work best when what
      * matters in the policy is <em>who</em> makes the permission check, not
      * what the caller's code source is. Internally, this method works by
-     * excuting <code>Subject.doAsPrivileged</code> with a privileged action
+     * executing <code>Subject.doAsPrivileged</code> with a privileged action
      * that simply calls [EMAIL PROTECTED] 
java.security.AccessController#checkPermission(Permission)}.
-     * @link AccessController#checkPermission(java.security.Permission). A
+     * @see AccessController#checkPermission(java.security.Permission) . A
      *       caught exception (or lack thereof) determines whether the 
privilege
      *       is absent (or present).
      * @param session the WikiSession whose permission status is being queried

Modified: incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/auth/UserManager.java
URL: 
http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/auth/UserManager.java?rev=666972&r1=666971&r2=666972&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/auth/UserManager.java 
(original)
+++ incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/auth/UserManager.java Wed Jun 
11 23:26:22 2008
@@ -587,6 +587,7 @@
          * No-op.
          * @throws WikiSecurityException never...
          */
+        @SuppressWarnings("deprecation")
         public void commit() throws WikiSecurityException
         {
             // No operation


Reply via email to