jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r472501 - /jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/util/Serializer.java
Date Wed, 08 Nov 2006 14:19:53 GMT
Author: stefan
Date: Wed Nov  8 06:19:52 2006
New Revision: 472501

URL: http://svn.apache.org/viewvc?view=rev&rev=472501
Log:
JCR-627: Deprecated Serializer does not properly delegate method calls

Modified:
    jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/util/Serializer.java

Modified: jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/util/Serializer.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/util/Serializer.java?view=diff&rev=472501&r1=472500&r2=472501
==============================================================================
--- jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/util/Serializer.java
(original)
+++ jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/util/Serializer.java
Wed Nov  8 06:19:52 2006
@@ -16,7 +16,6 @@
  */
 package org.apache.jackrabbit.core.state.util;
 
-import org.apache.jackrabbit.core.persistence.util.BLOBStore;
 import org.apache.jackrabbit.core.state.NodeReferences;
 import org.apache.jackrabbit.core.state.NodeState;
 import org.apache.jackrabbit.core.state.PropertyState;
@@ -36,7 +35,8 @@
      */
     public static void serialize(NodeState state, OutputStream stream)
             throws Exception {
-        serialize(state, stream);
+        // delegate to replacement
+        org.apache.jackrabbit.core.persistence.util.Serializer.serialize(state, stream);
     }
 
     /**
@@ -44,27 +44,30 @@
      */
     public static void deserialize(NodeState state, InputStream stream)
             throws Exception {
-        deserialize(state, stream);
+        // delegate to replacement
+        org.apache.jackrabbit.core.persistence.util.Serializer.deserialize(state, stream);
     }
 
     /**
-     * @deprecated use {@link org.apache.jackrabbit.core.persistence.util.Serializer#serialize(PropertyState,
OutputStream, BLOBStore)}
+     * @deprecated use {@link org.apache.jackrabbit.core.persistence.util.Serializer#serialize(PropertyState,
OutputStream, org.apache.jackrabbit.core.persistence.util.BLOBStore)}
      */
     public static void serialize(PropertyState state,
                                  OutputStream stream,
                                  BLOBStore blobStore)
             throws Exception {
-        serialize(state, stream, blobStore);
+        // delegate to replacement
+        org.apache.jackrabbit.core.persistence.util.Serializer.serialize(state, stream, blobStore);
     }
 
     /**
-     * @deprecated use {@link org.apache.jackrabbit.core.persistence.util.Serializer#deserialize(PropertyState,
InputStream, BLOBStore)}
+     * @deprecated use {@link org.apache.jackrabbit.core.persistence.util.Serializer#deserialize(PropertyState,
InputStream, org.apache.jackrabbit.core.persistence.util.BLOBStore)}
      */
     public static void deserialize(PropertyState state,
                                    InputStream stream,
                                    BLOBStore blobStore)
             throws Exception {
-        deserialize(state, stream, blobStore);
+        // delegate to replacement
+        org.apache.jackrabbit.core.persistence.util.Serializer.deserialize(state, stream,
blobStore);
     }
 
     /**
@@ -72,7 +75,8 @@
      */
     public static void serialize(NodeReferences refs, OutputStream stream)
             throws Exception {
-        serialize(refs, stream);
+        // delegate to replacement
+        org.apache.jackrabbit.core.persistence.util.Serializer.serialize(refs, stream);
     }
 
     /**
@@ -80,6 +84,7 @@
      */
     public static void deserialize(NodeReferences refs, InputStream stream)
             throws Exception {
-        deserialize(refs, stream);
+        // delegate to replacement
+        org.apache.jackrabbit.core.persistence.util.Serializer.deserialize(refs, stream);
     }
 }



Mime
View raw message