uima-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1000470 - /uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/util/TypeSystemUtil.java
Date Thu, 23 Sep 2010 13:44:46 GMT
Author: eae
Date: Thu Sep 23 13:44:46 2010
New Revision: 1000470

URL: http://svn.apache.org/viewvc?rev=1000470&view=rev
Log:
UIMA-1877

Modified:
    uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/util/TypeSystemUtil.java

Modified: uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/util/TypeSystemUtil.java
URL: http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/util/TypeSystemUtil.java?rev=1000470&r1=1000469&r2=1000470&view=diff
==============================================================================
--- uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/util/TypeSystemUtil.java (original)
+++ uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/util/TypeSystemUtil.java Thu
Sep 23 13:44:46 2010
@@ -112,6 +112,9 @@ public class TypeSystemUtil {
     FeatureDescription featDesc = UIMAFramework.getResourceSpecifierFactory()
             .createFeatureDescription();
     featDesc.setName(aFeature.getShortName());
+    if (aFeature.isMultipleReferencesAllowed()) {
+      featDesc.setMultipleReferencesAllowed(true);
+    }
     Type rangeType = aFeature.getRange();
     //special check for array range types, which are represented in the CAS as
     //elementType[] but in the descriptor as an FSArray with an <elementType>



Mime
View raw message