directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r742142 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncDoneValue/SyncDoneValueControlDecoder.java
Date Sun, 08 Feb 2009 19:18:20 GMT
Author: kayyagari
Date: Sun Feb  8 19:18:20 2009
New Revision: 742142

URL: http://svn.apache.org/viewvc?rev=742142&view=rev
Log:
remoed the local OID field and updated the source to refer the oid from SyncDoneValueControl

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncDoneValue/SyncDoneValueControlDecoder.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncDoneValue/SyncDoneValueControlDecoder.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncDoneValue/SyncDoneValueControlDecoder.java?rev=742142&r1=742141&r2=742142&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncDoneValue/SyncDoneValueControlDecoder.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncDoneValue/SyncDoneValueControlDecoder.java
Sun Feb  8 19:18:20 2009
@@ -28,6 +28,7 @@
 import org.apache.directory.shared.asn1.ber.Asn1Decoder;
 import org.apache.directory.shared.asn1.codec.DecoderException;
 import org.apache.directory.shared.ldap.codec.ControlDecoder;
+import org.apache.directory.shared.ldap.message.control.replication.SyncDoneValueContol;
 
 
 /**
@@ -40,9 +41,6 @@
 public class SyncDoneValueControlDecoder extends Asn1Decoder implements ControlDecoder
 {
 
-    /** The syncDoneValueControl OID */
-    private final static String CONTROL_TYPE_OID = "1.3.6.1.4.1.4203.1.9.1.3";
-
     /** An instance of this decoder */
     private static final Asn1Decoder decoder = new Asn1Decoder();
 
@@ -71,7 +69,7 @@
      */
     public String getControlType()
     {
-        return CONTROL_TYPE_OID;
+        return SyncDoneValueContol.CONTROL_OID;
     }
 
 }



Mime
View raw message