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 16:30:15 UTC
[jira] [Updated] (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 updated SAMZA-230:
-----------------------------
Attachment: 0001-SAMZA-230-Fix-compiler-warning-by-using-Int-instead-.patch
> 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
>
> Attachments: 0001-SAMZA-230-Fix-compiler-warning-by-using-Int-instead-.patch
>
>
> 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)