Author: eae Date: Mon Oct 21 21:27:30 2013 New Revision: 1534384 URL: http://svn.apache.org/r1534384 Log: UIMA-3149 change handling for entire chunk of newlines ... not an error.
Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/java/org/apache/uima/ducc/sampleapps/DuccTextCM.java Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/java/org/apache/uima/ducc/sampleapps/DuccTextCM.java URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/java/org/apache/uima/ducc/sampleapps/DuccTextCM.java?rev=1534384&r1=1534383&r2=1534384&view=diff ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/java/org/apache/uima/ducc/sampleapps/DuccTextCM.java (original) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/java/org/apache/uima/ducc/sampleapps/DuccTextCM.java Mon Oct 21 21:27:30 2013 @@ -204,7 +204,7 @@ public class DuccTextCM extends JCasMult currentindex++; if (currentindex == bytelength) { if (firstdoc) { - throw new RuntimeException("All newlines found in "+inputFileName+" block "+blockindex); + return false; // nothing but newlines in this block } } }