hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Templeton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-4366) Fix Lint Warnings in YARN Common
Date Tue, 17 Nov 2015 23:39:11 GMT

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

Daniel Templeton commented on YARN-4366:
----------------------------------------

There are no new tests because there is no behavior change.

> 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
>         Attachments: YARN-4366.001.patch
>
>
> {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)

Mime
View raw message