Author: schor Date: Tue May 6 19:45:26 2014 New Revision: 1592850 URL: http://svn.apache.org/r1592850 Log: no Jira, comment only
Modified: uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/impl/TypeImpl.java Modified: uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/impl/TypeImpl.java URL: http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/impl/TypeImpl.java?rev=1592850&r1=1592849&r2=1592850&view=diff ============================================================================== --- uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/impl/TypeImpl.java (original) +++ uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/impl/TypeImpl.java Tue May 6 19:45:26 2014 @@ -202,6 +202,9 @@ public class TypeImpl implements Type, C return getFeatureByBaseName(featureName); } + /** + * guaranteed to be non-null, but might be empty list + */ public List<Feature> getFeatures() { int[] feats = this.ts.ll_getAppropriateFeatures(this.code); List<Feature> list = new ArrayList<Feature>(feats.length);