activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (AMQ-4251) Scala compile warnings - Compiling activemq-leveldb-store
Date Thu, 09 May 2013 19:21:17 GMT

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

Timothy Bish reassigned AMQ-4251:
---------------------------------

    Assignee: Hiram Chirino
    
> 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
>
> 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

Mime
View raw message