made the classes serializable
authorKiran Ayyagari <kayyagari@apache.org>
Wed, 6 Aug 2014 12:01:19 +0000 (12:01 +0000)
committerKiran Ayyagari <kayyagari@apache.org>
Wed, 6 Aug 2014 12:01:19 +0000 (12:01 +0000)
mavibot/src/main/java/org/apache/directory/mavibot/btree/RevisionName.java
mavibot/src/main/java/org/apache/directory/mavibot/btree/Tuple.java

index ae7a24f..1483168 100644 (file)
@@ -31,6 +31,14 @@ import java.io.Serializable;
 /* no qualifier*/class RevisionName extends Tuple<Long, String> implements Serializable
 {
     /**
+     * for serialization purpose
+     */
+    protected RevisionName()
+    {
+    }
+    
+    
+    /**
      * A constructor for the RevisionName class
      * @param revision The revision
      * @param name The BTree name
index 93246c8..cde15ab 100644 (file)
@@ -32,10 +32,10 @@ package org.apache.directory.mavibot.btree;
 public class Tuple<K, V>
 {
     /** The key */
-    private K key;
+    protected K key;
 
     /** The value */
-    private V value;
+    protected V value;
 
 
     /**