Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 77DF3200C44 for ; Mon, 27 Mar 2017 16:24:57 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 766B2160B85; Mon, 27 Mar 2017 14:24:57 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BCA2B160B5D for ; Mon, 27 Mar 2017 16:24:56 +0200 (CEST) Received: (qmail 16351 invoked by uid 500); 27 Mar 2017 14:24:55 -0000 Mailing-List: contact user-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@uima.apache.org Delivered-To: mailing list user@uima.apache.org Received: (qmail 16340 invoked by uid 99); 27 Mar 2017 14:24:55 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Mar 2017 14:24:55 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 2A3951A02F4 for ; Mon, 27 Mar 2017 14:24:55 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id jG8rwwb2wl4f for ; Mon, 27 Mar 2017 14:24:54 +0000 (UTC) Received: from gateway20.websitewelcome.com (gateway20.websitewelcome.com [192.185.63.14]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 1262B5FB48 for ; Mon, 27 Mar 2017 14:24:54 +0000 (UTC) Received: from cm6.websitewelcome.com (cm6.websitewelcome.com [108.167.139.19]) by gateway20.websitewelcome.com (Postfix) with ESMTP id 4F1C2400DE2F0 for ; Mon, 27 Mar 2017 09:24:47 -0500 (CDT) Received: from gator3253.hostgator.com ([198.57.247.217]) by cm6.websitewelcome.com with id 12QB1v01B4i9tuE012QFdb; Mon, 27 Mar 2017 09:24:18 -0500 Received: from yktgi01e0-s5.watson.ibm.com ([129.34.20.19]:62720 helo=[9.2.55.54]) by gator3253.hostgator.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1csVZ4-000JJ5-D7 for user@uima.apache.org; Mon, 27 Mar 2017 09:24:10 -0500 Subject: Re: Updating to 3.0.0-alpha To: user@uima.apache.org References: From: Marshall Schor Message-ID: <21d85432-5ea2-cda5-1a88-241793a19929@schor.com> Date: Mon, 27 Mar 2017 10:24:18 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator3253.hostgator.com X-AntiAbuse: Original Domain - uima.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - schor.com X-BWhitelist: no X-Source-IP: 129.34.20.19 X-Exim-ID: 1csVZ4-000JJ5-D7 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: yktgi01e0-s5.watson.ibm.com ([9.2.55.54]) [129.34.20.19]:62720 X-Source-Auth: msa+schor.com X-Email-Count: 4 X-Source-Cap: bWlzY2hvcjttaXNjaG9yO2dhdG9yMzI1My5ob3N0Z2F0b3IuY29t archived-at: Mon, 27 Mar 2017 14:24:57 -0000 Hi, 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... -Marshall 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! >