Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EE512F9FA for ; Thu, 4 Apr 2013 13:49:19 +0000 (UTC) Received: (qmail 48956 invoked by uid 500); 4 Apr 2013 13:49:19 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 48468 invoked by uid 500); 4 Apr 2013 13:49:18 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 48119 invoked by uid 99); 4 Apr 2013 13:49:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Apr 2013 13:49:16 +0000 Date: Thu, 4 Apr 2013 13:49:15 +0000 (UTC) From: "Lionel Cons (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMQ-4436) LevelDB compilation warnings MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Lionel Cons created AMQ-4436: -------------------------------- Summary: LevelDB compilation warnings Key: AMQ-4436 URL: https://issues.apache.org/jira/browse/AMQ-4436 Project: ActiveMQ Issue Type: Bug Reporter: Lionel Cons When compiling the ActiveMQ trunk using Java 7, I get: {quote} [INFO] --- scala-maven-plugin:3.1.0:compile (default) @ activemq-leveldb-store --- [INFO] ~activemq/activemq-leveldb-store/src/main/java:-1: info: compiling [INFO] ~activemq/activemq-leveldb-store/target/generated-sources/proto:-1: info: compiling [INFO] ~activemq/activemq-leveldb-store/src/main/scala:-1: info: compiling [INFO] Compiling 21 source files to ~activemq/activemq-leveldb-store/target/classes at 1365083049736 [INFO] compiler plugin: BasicArtifact(org.fusesource.jvmassert,jvmassert,1.4,null) [WARNING] ~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] ~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] ~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] ~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 {quote} This is probably something that is worth fixing... -- 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