You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Raul Castro Fernandez (JIRA)" <ji...@apache.org> on 2014/06/04 21:51:03 UTC

[jira] [Updated] (SAMZA-270) Fix erasure warning in TestKeyValuePerformance

     [ https://issues.apache.org/jira/browse/SAMZA-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raul Castro Fernandez updated SAMZA-270:
----------------------------------------

    Attachment: samza-270.patch

Hi. I just abstracted the types to avoid the warning, now it does not show the warning anymore.

> Fix erasure warning in TestKeyValuePerformance
> ----------------------------------------------
>
>                 Key: SAMZA-270
>                 URL: https://issues.apache.org/jira/browse/SAMZA-270
>             Project: Samza
>          Issue Type: Improvement
>          Components: kv
>    Affects Versions: 0.7.0
>            Reporter: Jakob Homan
>              Labels: newbie
>             Fix For: 0.8.0
>
>         Attachments: samza-270.patch
>
>
> Post SAMZA-254, the check task has the following warning:
> {noformat}/Users/jhoman/repos/samza/samza-test/src/main/scala/org/apache/samza/test/performance/TestKeyValuePerformance.scala:116: warning: non-variable type argument Array[Byte] in type org.apache.samza.storage.kv.KeyValueStorageEngine[Array[Byte],Array[Byte]] is unchecked since it is eliminated by erasure
>       val db = if (!engine.isInstanceOf[KeyValueStorageEngine[Array[Byte], Array[Byte]]]) \{{noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)