You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Jakob Homan (JIRA)" <ji...@apache.org> on 2014/04/08 02:00:19 UTC

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

Jakob Homan created SAMZA-230:
---------------------------------

             Summary: 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
            Priority: Trivial
             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)