Fixing compilation issues

This commit is contained in:
Clebert Suconic 2016-08-25 15:10:17 -04:00
parent 986880f4c3
commit 3668050c8c
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}
}

View File

@ -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);