jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r552865 - /jackrabbit/trunk/contrib/spi/spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/QPropertyDefinitionImpl.java
Date Tue, 03 Jul 2007 14:56:14 GMT
Author: angela
Date: Tue Jul  3 07:56:13 2007
New Revision: 552865

URL: http://svn.apache.org/viewvc?view=rev&rev=552865
Log:
minor improvements:
- make usage of commons ValueFactory impl

Modified:
    jackrabbit/trunk/contrib/spi/spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/QPropertyDefinitionImpl.java

Modified: jackrabbit/trunk/contrib/spi/spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/QPropertyDefinitionImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/spi/spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/QPropertyDefinitionImpl.java?view=diff&rev=552865&r1=552864&r2=552865
==============================================================================
--- jackrabbit/trunk/contrib/spi/spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/QPropertyDefinitionImpl.java
(original)
+++ jackrabbit/trunk/contrib/spi/spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/QPropertyDefinitionImpl.java
Tue Jul  3 07:56:13 2007
@@ -25,6 +25,7 @@
 import org.apache.jackrabbit.webdav.xml.DomUtil;
 import org.apache.jackrabbit.webdav.xml.ElementIterator;
 import org.apache.jackrabbit.value.ValueFormat;
+import org.apache.jackrabbit.value.ValueFactoryImplEx;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -100,7 +101,7 @@
                 QValue qValue;
                 if (requiredType == PropertyType.BINARY) {
                     // TODO: improve
-                    Value v = ValueFactoryImpl.getInstance().createValue(jcrVal, requiredType);
+                    Value v = ValueFactoryImplEx.getInstance().createValue(jcrVal, requiredType);
                     qValue = ValueFormat.getQValue(v, nsResolver, qValueFactory);
                 } else {
                     qValue = ValueFormat.getQValue(jcrVal, requiredType, nsResolver, qValueFactory);



Mime
View raw message