activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject activemq-artemis git commit: Fixing compilation issues
Date Thu, 25 Aug 2016 19:10:50 GMT
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 <clebertsuconic@apache.org>
Authored: Thu Aug 25 15:10:17 2016 -0400
Committer: Clebert Suconic <clebertsuconic@apache.org>
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);


Mime
View raw message