From 3668050c8c05bcbe2b7339c0790a71094ec635d9 Mon Sep 17 00:00:00 2001 From: Clebert Suconic Date: Thu, 25 Aug 2016 15:10:17 -0400 Subject: [PATCH] Fixing compilation issues --- .../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(-) 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 69747c9340..f27efec4c4 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); } } } 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 7d84bd4644..bb28604351 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);