jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r762671 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/RepositoryConfigurationParser.java
Date Wed, 08 Apr 2009 04:09:56 GMT
Author: angela
Date: Tue Apr  7 10:16:05 2009
New Revision: 762671

URL: http://svn.apache.org/viewvc?rev=762671&view=rev
Log:
javadoc and improved variable naming

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/RepositoryConfigurationParser.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/RepositoryConfigurationParser.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/RepositoryConfigurationParser.java?rev=762671&r1=762670&r2=762671&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/RepositoryConfigurationParser.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/RepositoryConfigurationParser.java
Tue Apr  7 10:16:05 2009
@@ -525,22 +525,22 @@
      * </pre>
      *
      * @param parent Workspace-Root-Element
-     * @return
+     * @return a new <code>WorkspaceSecurityConfig</code>
      * @throws ConfigurationException
      */
     public WorkspaceSecurityConfig parseWorkspaceSecurityConfig(Element parent)
         throws ConfigurationException {
 
-        BeanConfig factConf = null;
+        BeanConfig acProviderConfig = null;
         Element element = getElement(parent, WSP_SECURITY_ELEMENT, false);
         if (element != null) {
             Element provFact = getElement(element, AC_PROVIDER_ELEMENT, false);
             if (provFact != null) {
-                factConf = parseBeanConfig(element, AC_PROVIDER_ELEMENT);
-                factConf.setValidate(false); // JCR-1920
+                acProviderConfig = parseBeanConfig(element, AC_PROVIDER_ELEMENT);
+                acProviderConfig.setValidate(false); // JCR-1920
             }
         }
-        return new WorkspaceSecurityConfig(factConf);
+        return new WorkspaceSecurityConfig(acProviderConfig);
     }
 
     /**



Mime
View raw message