You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vxquery.apache.org by pr...@apache.org on 2012/07/11 19:13:05 UTC

svn commit: r1360303 - /incubator/vxquery/branches/vxquery_algebricks/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/strings/UTF8StringCharacterIterator.java

Author: prestonc
Date: Wed Jul 11 17:13:05 2012
New Revision: 1360303

URL: http://svn.apache.org/viewvc?rev=1360303&view=rev
Log:
Changed the default value to use the character iterator end of string variable.

Modified:
    incubator/vxquery/branches/vxquery_algebricks/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/strings/UTF8StringCharacterIterator.java

Modified: incubator/vxquery/branches/vxquery_algebricks/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/strings/UTF8StringCharacterIterator.java
URL: http://svn.apache.org/viewvc/incubator/vxquery/branches/vxquery_algebricks/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/strings/UTF8StringCharacterIterator.java?rev=1360303&r1=1360302&r2=1360303&view=diff
==============================================================================
--- incubator/vxquery/branches/vxquery_algebricks/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/strings/UTF8StringCharacterIterator.java (original)
+++ incubator/vxquery/branches/vxquery_algebricks/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/strings/UTF8StringCharacterIterator.java Wed Jul 11 17:13:05 2012
@@ -22,7 +22,7 @@ public class UTF8StringCharacterIterator
     @Override
     public char next() {
         // Default - no character exists.
-        int c = 0;
+        int c = ICharacterIterator.EOS_CHAR;
         if (byteOffset < stringp.getLength()) {
             c = stringp.charAt(byteOffset);
             if (LOGGER.isLoggable(Level.FINE)) {