jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r478971 - in /jackrabbit/branches/1.1/textfilters/src: java/org/apache/jackrabbit/core/query/XMLTextFilter.java test/org/apache/jackrabbit/core/query/test/XMLTextFilterTest.java
Date Fri, 24 Nov 2006 20:03:23 GMT
Author: jukka
Date: Fri Nov 24 12:03:23 2006
New Revision: 478971

URL: http://svn.apache.org/viewvc?view=rev&rev=478971
Log:
1.1: Merged revision 454276 (JCR-587)

Added:
    jackrabbit/branches/1.1/textfilters/src/test/org/apache/jackrabbit/core/query/test/XMLTextFilterTest.java
      - copied unchanged from r454276, jackrabbit/trunk/textfilters/src/test/org/apache/jackrabbit/core/query/test/XMLTextFilterTest.java
Modified:
    jackrabbit/branches/1.1/textfilters/src/java/org/apache/jackrabbit/core/query/XMLTextFilter.java

Modified: jackrabbit/branches/1.1/textfilters/src/java/org/apache/jackrabbit/core/query/XMLTextFilter.java
URL: http://svn.apache.org/viewvc/jackrabbit/branches/1.1/textfilters/src/java/org/apache/jackrabbit/core/query/XMLTextFilter.java?view=diff&rev=478971&r1=478970&r2=478971
==============================================================================
--- jackrabbit/branches/1.1/textfilters/src/java/org/apache/jackrabbit/core/query/XMLTextFilter.java
(original)
+++ jackrabbit/branches/1.1/textfilters/src/java/org/apache/jackrabbit/core/query/XMLTextFilter.java
Fri Nov 24 12:03:23 2006
@@ -133,7 +133,7 @@
 
         public void characters(char[] ch, int start, int length) {
             boolean space = false;
-            for (int i = start; i < length; i++) {
+            for (int i = start; i < start + length; i++) {
                 if (Character.isLetterOrDigit(ch[i])) {
                     if (space) {
                         buffer.append(' ');



Mime
View raw message