You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Sebastian Nagel (Jira)" <ji...@apache.org> on 2023/10/03 10:27:00 UTC

[jira] [Resolved] (NUTCH-2897) Do not supress deprecated API warnings

     [ https://issues.apache.org/jira/browse/NUTCH-2897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebastian Nagel resolved NUTCH-2897.
------------------------------------
    Resolution: Fixed

> 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)