From f0b6e519593cae6cd9d73cb275ff99199dce9ffa Mon Sep 17 00:00:00 2001 From: Benjamin Graf Date: Thu, 19 Mar 2020 18:04:57 +0100 Subject: [PATCH] ARTEMIS-2668: Fix several format String definitions --- .../jdbc/store/logging/LoggingResultSet.java | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/artemis-jdbc-store/src/main/java/org/apache/activemq/artemis/jdbc/store/logging/LoggingResultSet.java b/artemis-jdbc-store/src/main/java/org/apache/activemq/artemis/jdbc/store/logging/LoggingResultSet.java index 7453360683..476c5bcabb 100644 --- a/artemis-jdbc-store/src/main/java/org/apache/activemq/artemis/jdbc/store/logging/LoggingResultSet.java +++ b/artemis-jdbc-store/src/main/java/org/apache/activemq/artemis/jdbc/store/logging/LoggingResultSet.java @@ -935,49 +935,49 @@ public class LoggingResultSet implements ResultSet { @Override public void updateRef(int columnIndex, Ref x) throws SQLException { - logger.logf(level, "%s.updateRef(%s, %s) = %s", resultSetID, columnIndex, x); + logger.logf(level, "%s.updateRef(%s, %s)", resultSetID, columnIndex, x); resultSet.updateRef(columnIndex, x); } @Override public void updateRef(String columnLabel, Ref x) throws SQLException { - logger.logf(level, "%s.updateRef(%s, %s) = %s", resultSetID, columnLabel, x); + logger.logf(level, "%s.updateRef(%s, %s)", resultSetID, columnLabel, x); resultSet.updateRef(columnLabel, x); } @Override public void updateBlob(int columnIndex, Blob x) throws SQLException { - logger.logf(level, "%s.updateBlob(%s, %s) = %s", resultSetID, columnIndex, x); + logger.logf(level, "%s.updateBlob(%s, %s)", resultSetID, columnIndex, x); resultSet.updateBlob(columnIndex, x); } @Override public void updateBlob(String columnLabel, Blob x) throws SQLException { - logger.logf(level, "%s.updateBlob(%s, %s) = %s", resultSetID, columnLabel, x); + logger.logf(level, "%s.updateBlob(%s, %s)", resultSetID, columnLabel, x); resultSet.updateBlob(columnLabel, x); } @Override public void updateClob(int columnIndex, Clob x) throws SQLException { - logger.logf(level, "%s.updateClob(%s, %s) = %s", resultSetID, columnIndex, x); + logger.logf(level, "%s.updateClob(%s, %s)", resultSetID, columnIndex, x); resultSet.updateClob(columnIndex, x); } @Override public void updateClob(String columnLabel, Clob x) throws SQLException { - logger.logf(level, "%s.updateClob(%s, %s) = %s", resultSetID, columnLabel, x); + logger.logf(level, "%s.updateClob(%s, %s)", resultSetID, columnLabel, x); resultSet.updateClob(columnLabel, x); } @Override public void updateArray(int columnIndex, Array x) throws SQLException { - logger.logf(level, "%s.updateArray(%s, %s) = %s", resultSetID, columnIndex, x); + logger.logf(level, "%s.updateArray(%s, %s)", resultSetID, columnIndex, x); resultSet.updateArray(columnIndex, x); } @Override public void updateArray(String columnLabel, Array x) throws SQLException { - logger.logf(level, "%s.updateArray(%s, %s) = %s", resultSetID, columnLabel, x); + logger.logf(level, "%s.updateArray(%s, %s)", resultSetID, columnLabel, x); resultSet.updateArray(columnLabel, x); } @@ -997,13 +997,13 @@ public class LoggingResultSet implements ResultSet { @Override public void updateRowId(int columnIndex, RowId x) throws SQLException { - logger.logf(level, "%s.updateRowId(%s, %s) = %s", resultSetID, columnIndex, x); + logger.logf(level, "%s.updateRowId(%s, %s)", resultSetID, columnIndex, x); resultSet.updateRowId(columnIndex, x); } @Override public void updateRowId(String columnLabel, RowId x) throws SQLException { - logger.logf(level, "%s.updateRowId(%s, %s) = %s", resultSetID, columnLabel, x); + logger.logf(level, "%s.updateRowId(%s, %s)", resultSetID, columnLabel, x); resultSet.updateRowId(columnLabel, x); } @@ -1023,25 +1023,25 @@ public class LoggingResultSet implements ResultSet { @Override public void updateNString(int columnIndex, String x) throws SQLException { - logger.logf(level, "%s.updateNString(%s, %s) = %s", resultSetID, columnIndex, x); + logger.logf(level, "%s.updateNString(%s, %s)", resultSetID, columnIndex, x); resultSet.updateNString(columnIndex, x); } @Override public void updateNString(String columnLabel, String x) throws SQLException { - logger.logf(level, "%s.updateNString(%s, %s) = %s", resultSetID, columnLabel, x); + logger.logf(level, "%s.updateNString(%s, %s)", resultSetID, columnLabel, x); resultSet.updateNString(columnLabel, x); } @Override public void updateNClob(int columnIndex, NClob x) throws SQLException { - logger.logf(level, "%s.updateNClob(%s, %s) = %s", resultSetID, columnIndex, x); + logger.logf(level, "%s.updateNClob(%s, %s)", resultSetID, columnIndex, x); resultSet.updateNClob(columnIndex, x); } @Override public void updateNClob(String columnLabel, NClob x) throws SQLException { - logger.logf(level, "%s.updateNClob(%s, %s) = %s", resultSetID, columnLabel, x); + logger.logf(level, "%s.updateNClob(%s, %s)", resultSetID, columnLabel, x); resultSet.updateNClob(columnLabel, x); } @@ -1075,13 +1075,13 @@ public class LoggingResultSet implements ResultSet { @Override public void updateSQLXML(int columnIndex, SQLXML x) throws SQLException { - logger.logf(level, "%s.updateSQLXML(%s, %s) = %s", resultSetID, columnIndex, x); + logger.logf(level, "%s.updateSQLXML(%s, %s)", resultSetID, columnIndex, x); resultSet.updateSQLXML(columnIndex, x); } @Override public void updateSQLXML(String columnLabel, SQLXML x) throws SQLException { - logger.logf(level, "%s.updateSQLXML(%s, %s) = %s", resultSetID, columnLabel, x); + logger.logf(level, "%s.updateSQLXML(%s, %s)", resultSetID, columnLabel, x); resultSet.updateSQLXML(columnLabel, x); } @@ -1297,7 +1297,7 @@ public class LoggingResultSet implements ResultSet { @Override public void updateObject(int columnIndex, Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException { - logger.logf(level, "%s.updateObject(%s, %s, %s, %s) = %s", resultSetID, columnIndex, x, targetSqlType, scaleOrLength); + logger.logf(level, "%s.updateObject(%s, %s, %s, %s)", resultSetID, columnIndex, x, targetSqlType, scaleOrLength); resultSet.updateObject(columnIndex, x, targetSqlType); } @@ -1306,19 +1306,19 @@ public class LoggingResultSet implements ResultSet { Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException { - logger.logf(level, "%s.updateObject(%s, %s, %s, %s) = %s", resultSetID, columnLabel, x, targetSqlType, scaleOrLength); + logger.logf(level, "%s.updateObject(%s, %s, %s, %s)", resultSetID, columnLabel, x, targetSqlType, scaleOrLength); resultSet.updateObject(columnLabel, x, targetSqlType, scaleOrLength); } @Override public void updateObject(int columnIndex, Object x, SQLType targetSqlType) throws SQLException { - logger.logf(level, "%s.updateObject(%s, %s, %s) = %s", resultSetID, columnIndex, x, targetSqlType); + logger.logf(level, "%s.updateObject(%s, %s, %s)", resultSetID, columnIndex, x, targetSqlType); resultSet.updateObject(columnIndex, x, targetSqlType); } @Override public void updateObject(String columnLabel, Object x, SQLType targetSqlType) throws SQLException { - logger.logf(level, "%s.updateObject(%s, %s, %s) = %s", resultSetID, columnLabel, x, targetSqlType); + logger.logf(level, "%s.updateObject(%s, %s, %s)", resultSetID, columnLabel, x, targetSqlType); resultSet.updateObject(columnLabel, x, targetSqlType); }