directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r588366 - in /directory/studio/trunk/studio-ldapbrowser-core: META-INF/ src/main/java/org/apache/directory/studio/ldapbrowser/core/internal/model/ src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/
Date Thu, 25 Oct 2007 21:43:34 GMT
Author: seelmann
Date: Thu Oct 25 14:43:32 2007
New Revision: 588366

URL: http://svn.apache.org/viewvc?rev=588366&view=rev
Log:
Replaced JNDIControl by javax.naming.ldap.BasicControl

Removed:
    directory/studio/trunk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/internal/model/
Modified:
    directory/studio/trunk/studio-ldapbrowser-core/META-INF/MANIFEST.MF
    directory/studio/trunk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/ImportLdifJob.java
    directory/studio/trunk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchJob.java

Modified: directory/studio/trunk/studio-ldapbrowser-core/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-ldapbrowser-core/META-INF/MANIFEST.MF?rev=588366&r1=588365&r2=588366&view=diff
==============================================================================
--- directory/studio/trunk/studio-ldapbrowser-core/META-INF/MANIFEST.MF (original)
+++ directory/studio/trunk/studio-ldapbrowser-core/META-INF/MANIFEST.MF Thu Oct 25 14:43:32
2007
@@ -13,7 +13,6 @@
 Eclipse-LazyStart: true
 Export-Package: org.apache.directory.studio.ldapbrowser.core,
  org.apache.directory.studio.ldapbrowser.core.events,
- org.apache.directory.studio.ldapbrowser.core.internal.model,
  org.apache.directory.studio.ldapbrowser.core.internal.search,
  org.apache.directory.studio.ldapbrowser.core.jobs,
  org.apache.directory.studio.ldapbrowser.core.model,

Modified: directory/studio/trunk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/ImportLdifJob.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/ImportLdifJob.java?rev=588366&r1=588365&r2=588366&view=diff
==============================================================================
--- directory/studio/trunk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/ImportLdifJob.java
(original)
+++ directory/studio/trunk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/ImportLdifJob.java
Thu Oct 25 14:43:32 2007
@@ -41,6 +41,7 @@
 import javax.naming.directory.BasicAttributes;
 import javax.naming.directory.DirContext;
 import javax.naming.directory.ModificationItem;
+import javax.naming.ldap.BasicControl;
 import javax.naming.ldap.Control;
 
 import org.apache.commons.codec.digest.DigestUtils;
@@ -50,7 +51,6 @@
 import org.apache.directory.studio.ldapbrowser.core.BrowserCoreMessages;
 import org.apache.directory.studio.ldapbrowser.core.events.BulkModificationEvent;
 import org.apache.directory.studio.ldapbrowser.core.events.EventRegistry;
-import org.apache.directory.studio.ldapbrowser.core.internal.model.JNDIControl;
 import org.apache.directory.studio.ldapbrowser.core.model.ConnectionException;
 import org.apache.directory.studio.ldapbrowser.core.model.DN;
 import org.apache.directory.studio.ldapbrowser.core.model.IBrowserConnection;
@@ -493,7 +493,7 @@
             {
                 LdifControlLine line = controlLines[i];
                 // TODO: encoded control value
-                controls[i] = new JNDIControl( line.getUnfoldedOid(), line.isCritical(),
null );
+                controls[i] = new BasicControl( line.getUnfoldedOid(), line.isCritical(),
null );
             }
         }
         return controls;

Modified: directory/studio/trunk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchJob.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchJob.java?rev=588366&r1=588365&r2=588366&view=diff
==============================================================================
--- directory/studio/trunk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchJob.java
(original)
+++ directory/studio/trunk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchJob.java
Thu Oct 25 14:43:32 2007
@@ -34,6 +34,7 @@
 import javax.naming.directory.Attribute;
 import javax.naming.directory.SearchControls;
 import javax.naming.directory.SearchResult;
+import javax.naming.ldap.BasicControl;
 import javax.naming.ldap.Control;
 
 import org.apache.directory.studio.connection.core.Connection;
@@ -41,7 +42,6 @@
 import org.apache.directory.studio.ldapbrowser.core.BrowserCoreMessages;
 import org.apache.directory.studio.ldapbrowser.core.events.EventRegistry;
 import org.apache.directory.studio.ldapbrowser.core.events.SearchUpdateEvent;
-import org.apache.directory.studio.ldapbrowser.core.internal.model.JNDIControl;
 import org.apache.directory.studio.ldapbrowser.core.model.AttributeHierarchy;
 import org.apache.directory.studio.ldapbrowser.core.model.ConnectionException;
 import org.apache.directory.studio.ldapbrowser.core.model.DN;
@@ -302,7 +302,7 @@
             ldapControls = new Control[ctls.length];
             for ( int i = 0; i < ctls.length; i++ )
             {
-                ldapControls[i] = new JNDIControl( ctls[i].getOid(), ctls[i].isCritical(),
ctls[i].getControlValue() );
+                ldapControls[i] = new BasicControl( ctls[i].getOid(), ctls[i].isCritical(),
ctls[i].getControlValue() );
             }
         }
 



Mime
View raw message