Lewis John McGibbney created NUTCH-2897:
-------------------------------------------

             Summary: 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
             Fix For: 1.19


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.3.4#803005)

Reply via email to