ctakes-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Zbarcea (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CTAKES-463) update deprecated FileLocator.locateFile
Date Thu, 05 Oct 2017 02:09:00 GMT

    [ https://issues.apache.org/jira/browse/CTAKES-463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16192376#comment-16192376
] 

Alex Zbarcea commented on CTAKES-463:
-------------------------------------

This patch would remove all WARNING from the build: (e.g. https://builds.apache.org/view/C/view/Apache%20cTAKES/job/cTAKES-trunk-Java-1.8/10/consoleFull)

{code}
...
[WARNING] /home/jenkins/jenkins-slave/workspace/cTAKES-trunk-Java-1.8/ctakes-core/src/main/java/org/apache/ctakes/core/cr/FilesInDirectoryCollectionReader.java:[113,26]
[deprecation] locateFile(String) in FileLocator has been deprecated
...
[WARNING] /home/jenkins/jenkins-slave/workspace/cTAKES-trunk-Java-1.8/ctakes-core/src/main/java/org/apache/ctakes/core/resource/LuceneIndexReaderResourceImpl.java:[58,39]
[deprecation] locateFile(String) in FileLocator has been deprecated
...
{code}

> update deprecated FileLocator.locateFile
> ----------------------------------------
>
>                 Key: CTAKES-463
>                 URL: https://issues.apache.org/jira/browse/CTAKES-463
>             Project: cTAKES
>          Issue Type: Bug
>            Reporter: Alex Zbarcea
>            Priority: Minor
>         Attachments: deprecated-FileLocator.locateFile.CTAKES-463.svn.patch
>
>
> Method:
> - {{+ org.apache.ctakes.core.resource.FileLocator.locateFile(location: String) : File}}

> has been deprecated in favor for:
> - {{+ org.apache.ctakes.core.resource.FileLocator.getFile(location: String) : File}}
> but, the code hasn't been updated with latest change.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message