cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r824959 - /cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/solr/SolrConsumer.java
Date Tue, 13 Oct 2009 22:28:29 GMT
Author: thorsten
Date: Tue Oct 13 22:28:28 2009
New Revision: 824959

URL: http://svn.apache.org/viewvc?rev=824959&view=rev
Log:
Replacing java 1.6 methods

Modified:
    cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/solr/SolrConsumer.java

Modified: cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/solr/SolrConsumer.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/solr/SolrConsumer.java?rev=824959&r1=824958&r2=824959&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/solr/SolrConsumer.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/solr/SolrConsumer.java
Tue Oct 13 22:28:28 2009
@@ -38,7 +38,7 @@
     
     public void characters(char[] ch, int start, int length)
             throws SAXException {
-        text += new String(Arrays.copyOfRange(ch, start, start + length));
+        text += new String(ch, start, start + length);
         getSAXConsumer().characters(ch, start, length);
     }
 



Mime
View raw message