uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marshall Schor <...@schor.com>
Subject Re: Updating to 3.0.0-alpha
Date Mon, 27 Mar 2017 14:24:18 GMT

sorry, I missed this email...  I'll investigate.  It seems this method was
removed as part of the reorganization of how this information is maintained in V3

But you make a good point about backwards compatibility...


On 2/21/2017 11:39 PM, Chad Cravens wrote:
> Hello UIMA group!
> Having a great time working with UIMA!
> I'm still pretty new to UIMA and am working with a pre-existing UIMA
> application, upgrading to 3.0.0 alpha from 2.9.0. The document states that
> backwards-compatibility is important, which is great in my case.
> I regenerated the JCas classes, and everything seemed to be ok, except for
> one line from the Regex Annotator package: https://uima.apache.org/
> sandbox.html#regex.annotator
> Line 171 of FeaturePath_Impl.java uses the following code:
> // get feature type and type code
> Type featureType = feature.getRange();
> int featureTypeCode = TypeSystemUtils.classifyType(featureType);
> I poured through the trunk branch on github and realized that the method is
> indeed gone:
> https://github.com/apache/uima-uimaj/blob/trunk/uimaj-core/src/main/java/org/apache/uima/cas/impl/TypeSystemUtils.java
> Just wondering if others are experiencing the same issue or is there
> something I'm missing here?
> Thanks for the help!

View raw message