You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Mariia Mykhailova (JIRA)" <ji...@apache.org> on 2017/01/17 19:41:26 UTC
[jira] [Resolved] (REEF-1707) java compiler gives a warning for not
using generics in the YARN Driver Containers class
[ https://issues.apache.org/jira/browse/REEF-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mariia Mykhailova resolved REEF-1707.
-------------------------------------
Resolution: Fixed
Fix Version/s: 0.16
Resolved via [PR 1221|https://github.com/apache/reef/pull/1221]
> java compiler gives a warning for not using generics in the YARN Driver Containers class
> ----------------------------------------------------------------------------------------
>
> Key: REEF-1707
> URL: https://issues.apache.org/jira/browse/REEF-1707
> Project: REEF
> Issue Type: Bug
> Components: REEF Runtime YARN
> Reporter: Sergiy Matusevych
> Assignee: Sergiy Matusevych
> Priority: Trivial
> Labels: logging, toString
> Fix For: 0.16
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> {{Containers.getContainerIds()}} method's implementation uses unchecked {{ArrayList}} class to copy the containers' data into. That results in a java compiler warning. It can be easily fixed by adding a diamond operator.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)