jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r159485 - incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/server/ServerPropertyDef.java
Date Wed, 30 Mar 2005 14:23:02 GMT
Author: jukka
Date: Wed Mar 30 06:23:01 2005
New Revision: 159485

URL: http://svn.apache.org/viewcvs?view=rev&rev=159485
Log:
JCR-89: Added serialization decoration to Value objects returned by  ServerPropertyDef.getDefaultValues()

Modified:
    incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/server/ServerPropertyDef.java

Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/server/ServerPropertyDef.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/server/ServerPropertyDef.java?view=diff&r1=159484&r2=159485
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/server/ServerPropertyDef.java
(original)
+++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/server/ServerPropertyDef.java
Wed Mar 30 06:23:01 2005
@@ -22,6 +22,7 @@
 import javax.jcr.nodetype.PropertyDef;
 
 import org.apache.jackrabbit.rmi.remote.RemotePropertyDef;
+import org.apache.jackrabbit.rmi.remote.SerialValue;
 
 /**
  * Remote adapter for the JCR
@@ -66,7 +67,7 @@
 
     /** {@inheritDoc} */
     public Value[] getDefaultValues() throws RemoteException {
-        return def.getDefaultValues();
+        return SerialValue.makeSerialValueArray(def.getDefaultValues());
     }
 
     /** {@inheritDoc} */



Mime
View raw message