You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Hiram Chirino (JIRA)" <ji...@apache.org> on 2013/05/10 00:19:16 UTC

[jira] [Resolved] (AMQ-4251) Scala compile warnings - Compiling activemq-leveldb-store

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

Hiram Chirino resolved AMQ-4251.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 5.9.0

fixed.
                
> Scala compile warnings - Compiling activemq-leveldb-store
> ---------------------------------------------------------
>
>                 Key: AMQ-4251
>                 URL: https://issues.apache.org/jira/browse/AMQ-4251
>             Project: ActiveMQ
>          Issue Type: Task
>          Components: Transport
>    Affects Versions: 5.8.0
>            Reporter: Claus Ibsen
>            Assignee: Hiram Chirino
>            Priority: Minor
>             Fix For: 5.9.0
>
>
> Noticed a bunch of warnings from the scala compiler
> [INFO] compiler plugin: BasicArtifact(org.fusesource.jvmassert,jvmassert,1.4,null)
> [WARNING] /Users/davsclaus/workspace/activemq/activemq-leveldb-store/src/main/scala/org/apache/activemq/leveldb/DBManager.scala:255: warning: non-variable type argument Long in type pattern (Long, Int) is unchecked since it is eliminated by erasure
> [WARNING]       case x:(Long, Int) =>
> [WARNING]              ^
> [WARNING] /Users/davsclaus/workspace/activemq/activemq-leveldb-store/src/main/scala/org/apache/activemq/leveldb/LevelDBClient.scala:1103: warning: non-variable type argument Long in type pattern (Long, Int) is unchecked since it is eliminated by erasure
> [WARNING]                     case x:(Long, Int) => x
> [WARNING]                            ^
> [WARNING] /Users/davsclaus/workspace/activemq/activemq-leveldb-store/src/main/scala/org/apache/activemq/leveldb/LevelDBClient.scala:1124: warning: non-variable type argument Long in type pattern (Long, Int) is unchecked since it is eliminated by erasure
> [WARNING]                     case x:(Long, Int) => x
> [WARNING]                            ^
> [WARNING] /Users/davsclaus/workspace/activemq/activemq-leveldb-store/src/main/scala/org/apache/activemq/leveldb/LevelDBClient.scala:1167: warning: non-variable type argument Long in type pattern (Long, Int) is unchecked since it is eliminated by erasure
> [WARNING]                     case x:(Long, Int) => x
> [WARNING]                            ^
> [WARNING] warning: there were 6 feature warnings; re-run with -feature for details
> [WARNING] 5 warnings found

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira