Claus Ibsen created AMQ-4251:
--------------------------------

             Summary: 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
            Priority: Minor


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

Reply via email to