You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ka...@apache.org on 2010/05/07 13:52:58 UTC

svn commit: r942054 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncStateValue/SyncStateValueControl.java

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
             {