jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r752457 - /jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/xml/SystemViewExporter.java
Date Wed, 11 Mar 2009 14:37:36 GMT
Author: thomasm
Date: Wed Mar 11 14:37:35 2009
New Revision: 752457

URL: http://svn.apache.org/viewvc?rev=752457&view=rev
Log:
JCR-2017 System view export truncates carriage return

Modified:
    jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/xml/SystemViewExporter.java

Modified: jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/xml/SystemViewExporter.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/xml/SystemViewExporter.java?rev=752457&r1=752456&r2=752457&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/xml/SystemViewExporter.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/xml/SystemViewExporter.java
Wed Mar 11 14:37:35 2009
@@ -161,7 +161,7 @@
             String string = value.getString();
             for (int i = 0; i < string.length(); i++) {
                 char c = string.charAt(i);
-                if (c >= 0 && c < 32 && c != '\r' && c != '\n'
&& c != '\t') {
+                if (c >= 0 && c < 32 && c != '\n' && c != '\t')
{
                     return true;
                 }
             }



Mime
View raw message