directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r754561 - in /directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model: BookmarkParameter.java DN.java RDN.java RDNPart.java SearchParameter.java
Date Sat, 14 Mar 2009 23:57:15 GMT
Author: seelmann
Date: Sat Mar 14 23:57:14 2009
New Revision: 754561

URL: http://svn.apache.org/viewvc?rev=754561&view=rev
Log:
Deleted deprecated classes

Removed:
    directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/DN.java
    directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/RDN.java
    directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/RDNPart.java
Modified:
    directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/BookmarkParameter.java
    directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/SearchParameter.java

Modified: directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/BookmarkParameter.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/BookmarkParameter.java?rev=754561&r1=754560&r2=754561&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/BookmarkParameter.java
(original)
+++ directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/BookmarkParameter.java
Sat Mar 14 23:57:14 2009
@@ -23,8 +23,6 @@
 
 import java.io.Serializable;
 
-import javax.naming.InvalidNameException;
-
 import org.apache.directory.shared.ldap.name.LdapDN;
 
 
@@ -92,28 +90,6 @@
 
 
     /**
-     * Sets the target DN.
-     * 
-     *  * @deprecated This method will be removed in the next version. The DN/RDN/RDNPart

-     * classes are replaced with the shared-ldap LdapDN/Rdn/ATAV. This method just 
-     * remains to provide backward compatibility of the old browserconnections.xml
-     * file that stores searches and bookmarks.
-     * 
-     * @param dn the target DN
-     */
-    public void setDn( DN dn )
-    {
-        try
-        {
-            setDn( new LdapDN( dn.toString() ) );
-        }
-        catch ( InvalidNameException e )
-        {
-        }
-    }
-    
-    
-    /**
      * Gets the symbolic name.
      * 
      * @return the symbolic name

Modified: directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/SearchParameter.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/SearchParameter.java?rev=754561&r1=754560&r2=754561&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/SearchParameter.java
(original)
+++ directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/SearchParameter.java
Sat Mar 14 23:57:14 2009
@@ -25,8 +25,6 @@
 import java.util.ArrayList;
 import java.util.List;
 
-import javax.naming.InvalidNameException;
-
 import org.apache.directory.shared.ldap.constants.SchemaConstants;
 import org.apache.directory.shared.ldap.name.LdapDN;
 import org.apache.directory.studio.connection.core.Connection.AliasDereferencingMethod;
@@ -308,29 +306,6 @@
 
 
     /**
-     * Sets the search base, a null search base is not allowed.
-     * 
-     * @deprecated This method will be removed in the next version. The DN/RDN/RDNPart 
-     * classes are replaced with the shared-ldap LdapDN/Rdn/ATAV. This method just 
-     * remains to provide backward compatibility of the old browserconnections.xml
-     * file that stores searches and bookmarks.
-     * 
-     * @param searchBase the search base
-     */
-    public void setSearchBase( DN searchBase )
-    {
-        assert searchBase != null;
-        try
-        {
-            setSearchBase( new LdapDN( searchBase.toString() ) );
-        }
-        catch ( InvalidNameException e )
-        {
-        }
-    }
-
-
-    /**
      * Gets the time limit in seconds, 0 means no limit.
      * 
      * @return the time limit



Mime
View raw message