[
https://issues.apache.org/jira/browse/CTAKES-465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Zbarcea updated CTAKES-465:
--------------------------------
Attachment: deprecated.CTAKES-334.svn.patch
provided fix for the rest of deprecations:
{code}
* 883e8908 - (HEAD -> fix-deprecated, origin/fix-deprecated) fix deprecated
AnalysisEngineFactory.createPrimitiveDescription (5 days ago) <Alexandru
Zbarcea>
* beeb5570 - fix deprecated SentenceDetectorME.train (5 days ago) <Alexandru
Zbarcea>
* da253f70 - fix deprecated awt.Dialog.show() (5 days ago) <Alexandru Zbarcea>
* 3d517f23 - fix deprecated IndexReader.open( File ) (5 days ago) <Alexandru
Zbarcea>
* 989708ff - fix deprecated getCasInitializer (5 days ago) <Alexandru Zbarcea>
* cfc62c1f - fix deprecated createEngineDescription (5 days ago) <Alexandru
Zbarcea>
{code}
*all UTests pass*
> remove dependencies over deprecated Class-es
> --------------------------------------------
>
> Key: CTAKES-465
> URL: https://issues.apache.org/jira/browse/CTAKES-465
> Project: cTAKES
> Issue Type: Bug
> Affects Versions: 4.0.0
> Reporter: Alex Zbarcea
> Attachments: deprecated-AnnotatorContext.CTAKES-465.svn.patch,
> deprecated-CasInitializer.CTAKES-465.svn.patch,
> deprecated-DICTIONARY_DESCRIPTOR_KEY.CTAKES-465.svn.patch,
> deprecated-FileLocator.getFullPath.CTAKES-465.svn.patch,
> deprecated-IndexReader.open.CTAKES-465.svn.patch,
> deprecated-SimpleJdbcTemplate.CTAKES-465.svn.patch,
> deprecated-createAnnotatorDescription.CTAKES-465.svn.patch,
> deprecated-createEnsembleDescription.CTAKES-465.svn.patch,
> deprecated-getAnnotationsInSpanIterator.CTAKES-465.svn.patch,
> deprecated-junit.framework.CTAKES-465.svn.patch,
> deprecated.CTAKES-334.svn.patch
>
>
> In order to retrieve all deprecations (unique and sorted):
> {code}
> $ mvn clean install | tee build.log
> $ grep -o "[^ ]\+ has been deprecated" build.log | sort -u
> {code}
> The following deprecations have been identified:
> {code}
> $ grep -o "[^ ]\+ [^ ]\+ in [^ ]\+ has been deprecated" .build.log | sort -u
> [deprecation] AnnotatorContext in org.apache.uima.analysis_engine.annotator
> has been deprecated
> [deprecation] Assert in junit.framework has been deprecated
> [deprecation] CasInitializer in org.apache.uima.collection has been deprecated
> [deprecation] DICTIONARY_DESCRIPTOR_KEY in JCasTermAnnotator has been
> deprecated
> [deprecation] JTextAnnotator_ImplBase in
> org.apache.uima.analysis_engine.annotator has been deprecated
> [deprecation] LUCENE_30 in Version has been deprecated
> [deprecation] SimpleJdbcTemplate in org.springframework.jdbc.core.simple has
> been deprecated
> [deprecation] createAnnotatorDescription(File) in
> EventEventCRFRelationAnnotator has been deprecated
> [deprecation] createAnnotatorDescription(File) in EventEventRelationAnnotator
> has been deprecated
> [deprecation] createAnnotatorDescription(File) in
> EventEventRelationSeedBasedAnnotator has been deprecated
> [deprecation] createAnnotatorDescription(File) in EventTimeRelationAnnotator
> has been deprecated
> [deprecation] createAnnotatorDescription(File) in NEPredicateEventAnnotator
> has been deprecated
> [deprecation] createAnnotatorDescription(File) in TimeAnnotator has been
> deprecated
> [deprecation] createEngineDescription(File) in EventTimeSelfRelationAnnotator
> has been deprecated
> [deprecation] createEnsembleDescription(File,String) in
> BackwardsTimeAnnotator has been deprecated
> [deprecation] createEnsembleDescription(File,String) in CRFTimeAnnotator has
> been deprecated
> [deprecation] createEnsembleDescription(File,String) in
> ConstituencyBasedTimeAnnotator has been deprecated
> [deprecation] getAnnotationsInSpanIterator(JCas,int,int,int) in FSUtil has
> been deprecated
> [deprecation] getCasInitializer() in CollectionReader_ImplBase has been
> deprecated
> [deprecation] getFullPath(String) in FileLocator has been deprecated
> [deprecation] locateFile(String) in FileLocator has been deprecated
> [deprecation] open(Directory) in IndexReader has been deprecated
> [deprecation] show() in Dialog has been deprecated
> [deprecation]
> train(String,ObjectStream<SentenceSample>,boolean,Dictionary,TrainingParameters)
> in SentenceDetectorME has been deprecated
> extends AnalysisComponent>,Object...) in AnalysisEngineFactory has been
> deprecated
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)