Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7D4A2200B6B for ; Thu, 25 Aug 2016 21:10:52 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7BB2E160AA5; Thu, 25 Aug 2016 19:10:52 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C1251160AA4 for ; Thu, 25 Aug 2016 21:10:51 +0200 (CEST) Received: (qmail 7895 invoked by uid 500); 25 Aug 2016 19:10:51 -0000 Mailing-List: contact commits-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 commits@activemq.apache.org Received: (qmail 7886 invoked by uid 99); 25 Aug 2016 19:10:51 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Aug 2016 19:10:50 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id D59D6E0BDB; Thu, 25 Aug 2016 19:10:50 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: clebertsuconic@apache.org To: commits@activemq.apache.org Message-Id: <9247c1d41eb0484bb47652663ca5c8cf@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: activemq-artemis git commit: Fixing compilation issues Date: Thu, 25 Aug 2016 19:10:50 +0000 (UTC) archived-at: Thu, 25 Aug 2016 19:10:52 -0000 Repository: activemq-artemis Updated Branches: refs/heads/master 986880f4c -> 3668050c8 Fixing compilation issues Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/3668050c Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/3668050c Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/3668050c Branch: refs/heads/master Commit: 3668050c8c05bcbe2b7339c0790a71094ec635d9 Parents: 986880f Author: Clebert Suconic Authored: Thu Aug 25 15:10:17 2016 -0400 Committer: Clebert Suconic Committed: Thu Aug 25 15:10:17 2016 -0400 ---------------------------------------------------------------------- .../java/org/apache/activemq/artemis/jdbc/store/JDBCUtils.java | 2 +- .../apache/activemq/artemis/jms/client/ActiveMQTextMessage.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/3668050c/artemis-jdbc-store/src/main/java/org/apache/activemq/artemis/jdbc/store/JDBCUtils.java ---------------------------------------------------------------------- diff --git a/artemis-jdbc-store/src/main/java/org/apache/activemq/artemis/jdbc/store/JDBCUtils.java b/artemis-jdbc-store/src/main/java/org/apache/activemq/artemis/jdbc/store/JDBCUtils.java index 69747c9..f27efec 100644 --- a/artemis-jdbc-store/src/main/java/org/apache/activemq/artemis/jdbc/store/JDBCUtils.java +++ b/artemis-jdbc-store/src/main/java/org/apache/activemq/artemis/jdbc/store/JDBCUtils.java @@ -71,7 +71,7 @@ public class JDBCUtils { if (rs != null && !rs.next()) { logger.tracef("Table %s did not exist, creating it with SQL=%s", tableName, sql); try (Statement statement = connection.createStatement()) { - statement.executeUpdate(sql); + statement.executeUpdate(sql); } } } http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/3668050c/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQTextMessage.java ---------------------------------------------------------------------- diff --git a/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQTextMessage.java b/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQTextMessage.java index 7d84bd4..bb28604 100644 --- a/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQTextMessage.java +++ b/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQTextMessage.java @@ -121,7 +121,7 @@ public class ActiveMQTextMessage extends ActiveMQMessage implements TextMessage @Override @SuppressWarnings("unchecked") - public boolean isBodyAssignableTo(ctiClass c) { + public boolean isBodyAssignableTo(Class c) { if (text == null) return true; return c.isAssignableFrom(java.lang.String.class);