Fixing compilation issues
This commit is contained in:
parent
986880f4c3
commit
3668050c8c
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue