You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "David Chen (JIRA)" <ji...@apache.org> on 2014/05/03 15:41:14 UTC

[jira] [Assigned] (SAMZA-230) Fix Integer warnings post SAMZA-223

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

David Chen reassigned SAMZA-230:
--------------------------------

    Assignee: David Chen

> Fix Integer warnings post SAMZA-223
> -----------------------------------
>
>                 Key: SAMZA-230
>                 URL: https://issues.apache.org/jira/browse/SAMZA-230
>             Project: Samza
>          Issue Type: Task
>    Affects Versions: 0.7.0
>            Reporter: Jakob Homan
>            Assignee: David Chen
>            Priority: Trivial
>              Labels: newbie
>             Fix For: 0.7.0
>
>
> After SAMZA-223, the check task (for Scala 2.9.2) complains about the deprecated usage of Integer rather than java.lang.Integer.
> {noformat}[ant:scalac] /Users/jhoman/repos/samza/samza-core/src/main/scala/org/apache/samza/system/StreamMetadataCache.scala:38: warning: type Integer is deprecated: use java.lang.Integer instead
> [ant:scalac]     val cacheTTLms: Integer = 5000,
> ...
> /Users/jhoman/repos/samza/samza-core/src/test/scala/org/apache/samza/system/TestStreamMetadataCache.scala:59: warning: type Integer is deprecated: use java.lang.Integer instead
>     val cache = new StreamMetadataCache(systemAdmins = systemAdmins, clock = clock){noformat}
> Should just use Int as these classes don't need to play nice with Java.



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