jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r161928 - incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/server/ServerRow.java
Date Tue, 19 Apr 2005 17:30:25 GMT
Author: jukka
Date: Tue Apr 19 10:30:25 2005
New Revision: 161928

URL: http://svn.apache.org/viewcvs?view=rev&rev=161928
Log:
JCR-109: Use the SerialValue decorator for returned row values.

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

Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/server/ServerRow.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/server/ServerRow.java?view=diff&r1=161927&r2=161928
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/server/ServerRow.java
(original)
+++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/server/ServerRow.java
Tue Apr 19 10:30:25 2005
@@ -23,6 +23,7 @@
 import javax.jcr.query.Row;
 
 import org.apache.jackrabbit.rmi.remote.RemoteRow;
+import org.apache.jackrabbit.rmi.remote.SerialValue;
 
 /**
  * Remote adapter for the JCR {@link javax.jcr.query.Row Row} interface.
@@ -60,6 +61,6 @@
     /** {@inheritDoc} */
     public Value getValue(String propertyName)
             throws RepositoryException, RemoteException {
-        return row.getValue(propertyName);
+        return new SerialValue(row.getValue(propertyName));
     }
 }



Mime
View raw message