incubator-any23-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mosta...@apache.org
Subject svn commit: r1341040 - in /incubator/any23/trunk/core/src: main/java/org/apache/any23/io/nquads/NQuadsParser.java test/java/org/apache/any23/io/nquads/NQuadsParserTest.java
Date Mon, 21 May 2012 14:16:56 GMT
Author: mostarda
Date: Mon May 21 14:16:55 2012
New Revision: 1341040

URL: http://svn.apache.org/viewvc?rev=1341040&view=rev
Log:
Fixed issue #ANY23-93.

Modified:
    incubator/any23/trunk/core/src/main/java/org/apache/any23/io/nquads/NQuadsParser.java
    incubator/any23/trunk/core/src/test/java/org/apache/any23/io/nquads/NQuadsParserTest.java

Modified: incubator/any23/trunk/core/src/main/java/org/apache/any23/io/nquads/NQuadsParser.java
URL: http://svn.apache.org/viewvc/incubator/any23/trunk/core/src/main/java/org/apache/any23/io/nquads/NQuadsParser.java?rev=1341040&r1=1341039&r2=1341040&view=diff
==============================================================================
--- incubator/any23/trunk/core/src/main/java/org/apache/any23/io/nquads/NQuadsParser.java
(original)
+++ incubator/any23/trunk/core/src/main/java/org/apache/any23/io/nquads/NQuadsParser.java
Mon May 21 14:16:55 2012
@@ -113,7 +113,7 @@ public class NQuadsParser extends RDFPar
      * Moves to the next row, resets the column.
      */
     private void nextRow() {
-        col = 0;
+        col = 1;
         row++;
         if(locationListener != null) {
             locationListener.parseLocationUpdate(row, col);

Modified: incubator/any23/trunk/core/src/test/java/org/apache/any23/io/nquads/NQuadsParserTest.java
URL: http://svn.apache.org/viewvc/incubator/any23/trunk/core/src/test/java/org/apache/any23/io/nquads/NQuadsParserTest.java?rev=1341040&r1=1341039&r2=1341040&view=diff
==============================================================================
--- incubator/any23/trunk/core/src/test/java/org/apache/any23/io/nquads/NQuadsParserTest.java
(original)
+++ incubator/any23/trunk/core/src/test/java/org/apache/any23/io/nquads/NQuadsParserTest.java
Mon May 21 14:16:55 2012
@@ -417,7 +417,7 @@ public class NQuadsParserTest {
         );
 
         rdfHandler.assertHandler(5);
-        parseLocationListerner.assertListener(7, 107);
+        parseLocationListerner.assertListener(7, 108);
     }
 
     /**
@@ -441,7 +441,7 @@ public class NQuadsParserTest {
         );
 
         rdfHandler.assertHandler(400);
-        parseLocationListener.assertListener(400, 348);
+        parseLocationListener.assertListener(400, 349);
     }
 
     @Test



Mime
View raw message