directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1616177 - in /directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree: RevisionName.java Tuple.java
Date Wed, 06 Aug 2014 12:01:20 GMT
Author: kayyagari
Date: Wed Aug  6 12:01:19 2014
New Revision: 1616177

URL: http://svn.apache.org/r1616177
Log:
made the classes serializable

Modified:
    directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/RevisionName.java
    directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/Tuple.java

Modified: directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/RevisionName.java
URL: http://svn.apache.org/viewvc/directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/RevisionName.java?rev=1616177&r1=1616176&r2=1616177&view=diff
==============================================================================
--- directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/RevisionName.java
(original)
+++ directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/RevisionName.java
Wed Aug  6 12:01:19 2014
@@ -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

Modified: directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/Tuple.java
URL: http://svn.apache.org/viewvc/directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/Tuple.java?rev=1616177&r1=1616176&r2=1616177&view=diff
==============================================================================
--- directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/Tuple.java
(original)
+++ directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/Tuple.java
Wed Aug  6 12:01:19 2014
@@ -32,10 +32,10 @@ package org.apache.directory.mavibot.btr
 public class Tuple<K, V>
 {
     /** The key */
-    private K key;
+    protected K key;
 
     /** The value */
-    private V value;
+    protected V value;
 
 
     /**



Mime
View raw message