Daniel Templeton created YARN-4366:
--------------------------------------

             Summary: Fix Lint Warnings in YARN Common
                 Key: YARN-4366
                 URL: https://issues.apache.org/jira/browse/YARN-4366
             Project: Hadoop YARN
          Issue Type: Bug
          Components: yarn
    Affects Versions: 2.7.1
            Reporter: Daniel Templeton
            Assignee: Daniel Templeton


{noformat}
[WARNING] 
/Users/daniel/NetBeansProjects/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/Router.java:[100,45]
 non-varargs call of varargs method with inexact argument type for last 
parameter;
  cast to java.lang.Class<?> for a varargs call
  cast to java.lang.Class<?>[] for a non-varargs call and to suppress this 
warning
[WARNING] 
/Users/daniel/NetBeansProjects/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/factory/providers/RpcFactoryProvider.java:[62,46]
 non-varargs call of varargs method with inexact argument type for last 
parameter;
  cast to java.lang.Class<?> for a varargs call
  cast to java.lang.Class<?>[] for a non-varargs call and to suppress this 
warning
[WARNING] 
/Users/daniel/NetBeansProjects/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/factory/providers/RpcFactoryProvider.java:[64,34]
 non-varargs call of varargs method with inexact argument type for last 
parameter;
  cast to java.lang.Object for a varargs call
  cast to java.lang.Object[] for a non-varargs call and to suppress this warning
{noformat}



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

Reply via email to