directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r985922 - /directory/apacheds/branches/apacheds-codec-merge/server-tools/src/main/java/org/apache/directory/server/tools/DiagnosticCommand.java
Date Mon, 16 Aug 2010 13:31:25 GMT
Author: elecharny
Date: Mon Aug 16 13:31:25 2010
New Revision: 985922

URL: http://svn.apache.org/viewvc?rev=985922&view=rev
Log:
Forgot to commit this class after having merged the ExtendedRequest classes

Modified:
    directory/apacheds/branches/apacheds-codec-merge/server-tools/src/main/java/org/apache/directory/server/tools/DiagnosticCommand.java

Modified: directory/apacheds/branches/apacheds-codec-merge/server-tools/src/main/java/org/apache/directory/server/tools/DiagnosticCommand.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-codec-merge/server-tools/src/main/java/org/apache/directory/server/tools/DiagnosticCommand.java?rev=985922&r1=985921&r2=985922&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-codec-merge/server-tools/src/main/java/org/apache/directory/server/tools/DiagnosticCommand.java
(original)
+++ directory/apacheds/branches/apacheds-codec-merge/server-tools/src/main/java/org/apache/directory/server/tools/DiagnosticCommand.java
Mon Aug 16 13:31:25 2010
@@ -21,6 +21,7 @@ package org.apache.directory.server.tool
 
 
 import java.util.Hashtable;
+
 import javax.naming.ldap.InitialLdapContext;
 import javax.naming.ldap.LdapContext;
 
@@ -30,6 +31,7 @@ import org.apache.commons.cli.Options;
 import org.apache.directory.daemon.AvailablePortFinder;
 import org.apache.directory.server.i18n.I18n;
 import org.apache.directory.shared.ldap.message.extended.LaunchDiagnosticUiRequest;
+import org.apache.directory.shared.ldap.util.AttributeUtils;
 
 
 /**
@@ -81,7 +83,7 @@ public class DiagnosticCommand extends T
         {
             System.out.println( "Connection to the server established.\n" + "Sending extended
request ... " );
         }
-        ctx.extendedOperation( new LaunchDiagnosticUiRequest( 3 ) );
+        ctx.extendedOperation( AttributeUtils.toJndiExtendedRequest( new LaunchDiagnosticUiRequest(
3 ) ) );
         ctx.close();
     }
 



Mime
View raw message