directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r942054 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncStateValue/SyncStateValueControl.java
Date Fri, 07 May 2010 11:52:58 GMT
Author: kayyagari
Date: Fri May  7 11:52:58 2010
New Revision: 942054

URL: http://svn.apache.org/viewvc?rev=942054&view=rev
Log:
temporarily fixed the getValue() method to fill the value byte array

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

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncStateValue/SyncStateValueControl.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncStateValue/SyncStateValueControl.java?rev=942054&r1=942053&r2=942054&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncStateValue/SyncStateValueControl.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncStateValue/SyncStateValueControl.java
Fri May  7 11:52:58 2010
@@ -198,7 +198,10 @@ public class SyncStateValueControl  exte
      */
     public byte[] getValue()
     {
-        if ( value == null )
+        // FIXME the value is being cached and is not getting updated
+        // reason for this is yet to be identified
+        // till then force calculating value everytime getValue() is called
+        //if ( value == null )
         {
             try
             { 



Mime
View raw message