directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r729518 - in /directory/apacheds/trunk: core/src/main/java/org/apache/directory/server/core/ protocol-ldap/src/main/java/org/apache/directory/server/ldap/
Date Fri, 26 Dec 2008 18:02:06 GMT
Author: elecharny
Date: Fri Dec 26 10:02:06 2008
New Revision: 729518

URL: http://svn.apache.org/viewvc?rev=729518&view=rev
Log:
o Removed useless setters in DirectoryServer (those setters are already defined in LdapService)
o Hidden a setter in LdapService
o Minor typo fixes in JavaDoc

Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/DirectoryService.java
    directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapService.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java?rev=729518&r1=729517&r2=729518&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java
Fri Dec 26 10:02:06 2008
@@ -240,8 +240,6 @@
     private boolean allowAnonymousAccess = true; // allow by default
     private boolean accessControlEnabled; // off by default
     private boolean denormalizeOpAttrsEnabled; // off by default
-    private int maxSizeLimit = MAX_SIZE_LIMIT_DEFAULT; // set to default value
-    private int maxTimeLimit = MAX_TIME_LIMIT_DEFAULT; // set to default value (milliseconds)
     private List<Interceptor> interceptors;
     private Partition systemPartition;
     private Set<Partition> partitions = new HashSet<Partition>();
@@ -469,29 +467,6 @@
     }
 
 
-    public void setMaxSizeLimit( int maxSizeLimit )
-    {
-        this.maxSizeLimit = maxSizeLimit;
-    }
-
-
-    public int getMaxSizeLimit()
-    {
-        return maxSizeLimit;
-    }
-
-
-    public void setMaxTimeLimit( int maxTimeLimit )
-    {
-        this.maxTimeLimit = maxTimeLimit;
-    }
-
-
-    public int getMaxTimeLimit()
-    {
-        return maxTimeLimit;
-    }
-
     public void setSystemPartition( Partition systemPartition )
     {
         this.systemPartition = systemPartition;

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/DirectoryService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/DirectoryService.java?rev=729518&r1=729517&r2=729518&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/DirectoryService.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/DirectoryService.java
Fri Dec 26 10:02:06 2008
@@ -357,18 +357,6 @@
     boolean isExitVmOnShutdown();
 
 
-    void setMaxSizeLimit( int maxSizeLimit );
-
-
-    int getMaxSizeLimit();
-
-
-    void setMaxTimeLimit( int maxTimeLimit );
-
-
-    int getMaxTimeLimit();
-
-
     void setSystemPartition( Partition systemPartition );
 
 

Modified: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapService.java?rev=729518&r1=729517&r2=729518&view=diff
==============================================================================
--- directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapService.java
(original)
+++ directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapService.java
Fri Dec 26 10:02:06 2008
@@ -727,7 +727,7 @@
 
 
     /**
-     * Sets the maximum time limit in miliseconds to conduct a search.
+     * Sets the maximum time limit in milliseconds to conduct a search.
      *
      * @param maxTimeLimit the maximum length of time in milliseconds for search
      */
@@ -738,7 +738,7 @@
 
 
     /**
-     * Returns the maximum time limit in milliseonds to conduct a search.
+     * Returns the maximum time limit in milliseconds to conduct a search.
      *
      * @return The maximum time limit in milliseconds for search
      */
@@ -947,6 +947,9 @@
     }
 
 
+    /**
+     * @org.apache.xbean.Property hidden="true"
+     */
     public void setSupportedControls( Set<String> supportedControls )
     {
         this.supportedControls = supportedControls;



Mime
View raw message