incubator-graffito-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clomb...@apache.org
Subject svn commit: r280097 - /incubator/graffito/trunk/jcr-mapping/src/java/org/apache/portals/graffito/jcr/persistence/atomictypeconverter/AtomicTypeConverterFactory.java
Date Sun, 11 Sep 2005 08:53:24 GMT
Author: clombart
Date: Sun Sep 11 01:53:21 2005
New Revision: 280097

URL: http://svn.apache.org/viewcvs?rev=280097&view=rev
Log:
return byte[] instead of String

Modified:
    incubator/graffito/trunk/jcr-mapping/src/java/org/apache/portals/graffito/jcr/persistence/atomictypeconverter/AtomicTypeConverterFactory.java

Modified: incubator/graffito/trunk/jcr-mapping/src/java/org/apache/portals/graffito/jcr/persistence/atomictypeconverter/AtomicTypeConverterFactory.java
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/jcr-mapping/src/java/org/apache/portals/graffito/jcr/persistence/atomictypeconverter/AtomicTypeConverterFactory.java?rev=280097&r1=280096&r2=280097&view=diff
==============================================================================
--- incubator/graffito/trunk/jcr-mapping/src/java/org/apache/portals/graffito/jcr/persistence/atomictypeconverter/AtomicTypeConverterFactory.java
(original)
+++ incubator/graffito/trunk/jcr-mapping/src/java/org/apache/portals/graffito/jcr/persistence/atomictypeconverter/AtomicTypeConverterFactory.java
Sun Sep 11 01:53:21 2005
@@ -198,8 +198,8 @@
 			return getValueFactory().createValue(value);
 		}
 		public Object getJavaObjectFromJcr(Node node, String jcrPropName) throws ValueFormatException,
PathNotFoundException, RepositoryException{
-			String aString= node.getProperty(jcrPropName).getString();
-			return aString;
+			byte[] value = node.getProperty(jcrPropName).getString().getBytes();
+			return value;
 		}
         public Class[] getJavaTypes() {
             Class[] javaTypes ={byte[].class}; 



Mime
View raw message