You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ctakes.apache.org by tm...@apache.org on 2015/10/07 16:41:31 UTC
svn commit: r1707318 -
/ctakes/trunk/ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/ae/RelationExtractorAnnotator.java
Author: tmill
Date: Wed Oct 7 14:41:31 2015
New Revision: 1707318
URL: http://svn.apache.org/viewvc?rev=1707318&view=rev
Log:
Modified error output to be much less verbose (was using up all of eclipse memory to track console during long runs).
Modified:
ctakes/trunk/ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/ae/RelationExtractorAnnotator.java
Modified: ctakes/trunk/ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/ae/RelationExtractorAnnotator.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/ae/RelationExtractorAnnotator.java?rev=1707318&r1=1707317&r2=1707318&view=diff
==============================================================================
--- ctakes/trunk/ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/ae/RelationExtractorAnnotator.java (original)
+++ ctakes/trunk/ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/ae/RelationExtractorAnnotator.java Wed Oct 7 14:41:31 2015
@@ -176,7 +176,7 @@ public abstract class RelationExtractorA
for (Feature feature : features) {
if (feature.getValue() == null) {
feature.setValue("NULL");
- String message = String.format("Null value found in %s from %s", feature, features);
+ String message = String.format("Null value found in %s", feature);
System.err.println(message);
// throw new IllegalArgumentException(String.format(message, feature, features));
}