directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r494854 - /directory/trunks/ldapstudio/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/jobs/ImportDsmlJob.java
Date Wed, 10 Jan 2007 15:37:13 GMT
Author: pamarcelot
Date: Wed Jan 10 07:37:12 2007
New Revision: 494854

URL: http://svn.apache.org/viewvc?view=rev&rev=494854
Log:
Updating Import DSML Job to match the new interface of some classes of the shared-ldap dependency.

Modified:
    directory/trunks/ldapstudio/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/jobs/ImportDsmlJob.java

Modified: directory/trunks/ldapstudio/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/jobs/ImportDsmlJob.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/jobs/ImportDsmlJob.java?view=diff&rev=494854&r1=494853&r2=494854
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/jobs/ImportDsmlJob.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/jobs/ImportDsmlJob.java
Wed Jan 10 07:37:12 2007
@@ -34,6 +34,7 @@
 import org.apache.directory.ldapstudio.dsmlv2.engine.Dsmlv2Engine;
 import org.apache.directory.ldapstudio.dsmlv2.reponse.ErrorResponse;
 import org.apache.directory.shared.ldap.codec.LdapResponse;
+import org.apache.directory.shared.ldap.message.ResultCodeEnum;
 
 
 /**
@@ -145,7 +146,7 @@
             while ( ldapResponse != null )
             {
                 if ( ( ldapResponse instanceof ErrorResponse ) 
-                     || ( ldapResponse.getLdapResult().getResultCode() != 0 ) )
+                     || ( ldapResponse.getLdapResult().getResultCode() != ResultCodeEnum.SUCCESS
) )
                 {
                     errorCount++;
                 }



Mime
View raw message