You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by jo...@apache.org on 2011/08/25 10:48:08 UTC
svn commit: r1161444 -
/incubator/opennlp/trunk/opennlp-uima/src/main/java/opennlp/uima/util/AnnotatorUtil.java
Author: joern
Date: Thu Aug 25 08:48:07 2011
New Revision: 1161444
URL: http://svn.apache.org/viewvc?rev=1161444&view=rev
Log:
OPENNLP-272 Now exception contains feature name instead of null reference
Modified:
incubator/opennlp/trunk/opennlp-uima/src/main/java/opennlp/uima/util/AnnotatorUtil.java
Modified: incubator/opennlp/trunk/opennlp-uima/src/main/java/opennlp/uima/util/AnnotatorUtil.java
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/src/main/java/opennlp/uima/util/AnnotatorUtil.java?rev=1161444&r1=1161443&r2=1161444&view=diff
==============================================================================
--- incubator/opennlp/trunk/opennlp-uima/src/main/java/opennlp/uima/util/AnnotatorUtil.java (original)
+++ incubator/opennlp/trunk/opennlp-uima/src/main/java/opennlp/uima/util/AnnotatorUtil.java Thu Aug 25 08:48:07 2011
@@ -93,7 +93,7 @@ public final class AnnotatorUtil {
if (feature == null) {
throw new OpenNlpAnnotatorProcessException(
ExceptionMessages.FEATURE_NOT_FOUND, new Object[] { type.getName(),
- feature });
+ featureName});
}
return feature;