directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r495212 - in /directory/trunks/ldapstudio: dependencies/externals/org/apache/directory/ldapstudio/ldapstudio-dsml-parser/0.3/ ldapstudio-dsml-parser/src/main/java/org/apache/directory/ldapstudio/dsmlv2/reponse/
Date Thu, 11 Jan 2007 13:10:15 GMT
Author: pamarcelot
Date: Thu Jan 11 05:10:14 2007
New Revision: 495212

URL: http://svn.apache.org/viewvc?view=rev&rev=495212
Log:
Fixing a bug on the DSMLv2 Parser Library. The ResultCode of a response was returned as a
String instead of the int code (e.g. SUCCESS instead of 0). Updating the DSMLv2 Library in
the dependencies repository.

Modified:
    directory/trunks/ldapstudio/dependencies/externals/org/apache/directory/ldapstudio/ldapstudio-dsml-parser/0.3/ldapstudio-dsml-parser-0.3.jar
    directory/trunks/ldapstudio/ldapstudio-dsml-parser/src/main/java/org/apache/directory/ldapstudio/dsmlv2/reponse/LdapResultDsml.java

Modified: directory/trunks/ldapstudio/dependencies/externals/org/apache/directory/ldapstudio/ldapstudio-dsml-parser/0.3/ldapstudio-dsml-parser-0.3.jar
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/dependencies/externals/org/apache/directory/ldapstudio/ldapstudio-dsml-parser/0.3/ldapstudio-dsml-parser-0.3.jar?view=diff&rev=495212&r1=495211&r2=495212
==============================================================================
Binary files - no diff available.

Modified: directory/trunks/ldapstudio/ldapstudio-dsml-parser/src/main/java/org/apache/directory/ldapstudio/dsmlv2/reponse/LdapResultDsml.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-dsml-parser/src/main/java/org/apache/directory/ldapstudio/dsmlv2/reponse/LdapResultDsml.java?view=diff&rev=495212&r1=495211&r2=495212
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-dsml-parser/src/main/java/org/apache/directory/ldapstudio/dsmlv2/reponse/LdapResultDsml.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-dsml-parser/src/main/java/org/apache/directory/ldapstudio/dsmlv2/reponse/LdapResultDsml.java
Thu Jan 11 05:10:14 2007
@@ -86,7 +86,7 @@
 
         // ResultCode
         Element resultCodeElement = root.addElement( "resultCode" );
-        resultCodeElement.addAttribute( "code", "" + result.getResultCode() );
+        resultCodeElement.addAttribute( "code", "" + result.getResultCode().getResultCode()
);
         resultCodeElement.addAttribute( "descr", LdapResultEnum.getResultCodeDescr( result.getResultCode()
) );
 
         // ErrorMessage



Mime
View raw message