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

Akira AJISAKA commented on HADOOP-7266:
---------------------------------------

For example, we need to add {{@SuppressWarnings}} to {{GangliaContext}} to 
suppress warning for extending deprecated class.
{code}
@Deprecated
@SuppressWarnings("deprecation")
@InterfaceAudience.Public
@InterfaceStability.Evolving
public class GangliaContext extends AbstractMetricsContext {
{code}
I suppressed warnings only for reducing javac warnings as possible. I have no 
other reason to do that.

> Deprecate metrics v1
> --------------------
>
>                 Key: HADOOP-7266
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7266
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: metrics
>    Affects Versions: 2.8.0
>            Reporter: Luke Lu
>            Assignee: Akira AJISAKA
>            Priority: Blocker
>         Attachments: HADOOP-7266-remove.001.patch, HADOOP-7266.001.patch, 
> HADOOP-7266.002.patch, HADOOP-7266.003.patch, HADOOP-7266.004.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to