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

Hudson commented on NUTCH-2897:
-------------------------------

SUCCESS: Integrated in Jenkins build Nutch ยป Nutch-trunk #130 (See 
[https://ci-builds.apache.org/job/Nutch/job/Nutch-trunk/130/])
NUTCH-2897 Do not supress deprecated API warnings (snagel: 
[https://github.com/apache/nutch/commit/a1ab4333e0a1a28ac2e0f9c75871f7feeb5f2f81])
* (edit) src/java/org/apache/nutch/util/NutchJob.java
* (edit) src/java/org/apache/nutch/plugin/Plugin.java


> Do not supress deprecated API warnings
> --------------------------------------
>
>                 Key: NUTCH-2897
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2897
>             Project: Nutch
>          Issue Type: Improvement
>          Components: documentation
>    Affects Versions: 1.18
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>            Priority: Major
>             Fix For: 1.20
>
>
> We suppress deprecated warnings in three places
> # 
> [Plugin.java#L92-L96|https://github.com/apache/nutch/blob/master/src/java/org/apache/nutch/plugin/Plugin.java#L92-L96]
> # 
> [NutchJob.java#L35-L38|https://github.com/apache/nutch/blob/master/src/java/org/apache/nutch/util/NutchJob.java#L35-L38],
>  and
> # 
> [TikaParser.java#L92-L95|https://github.com/apache/nutch/blob/master/src/plugin/parse-tika/src/java/org/apache/nutch/parse/tika/TikaParser.java#L92-L95]
> Instead of suppressing the warnings we should instead use the correct 
> *@Deprecated* annotation and *@deprecated* Javadoc. This is not difficult to 
> do and should have been done first time around.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to