Skip to content

Commit 5750eb7

Browse files
committed
Add final
1 parent 0893fe6 commit 5750eb7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/org/apache/ibatis/logging/jdbc/BaseJdbcLogger.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ public abstract class BaseJdbcLogger {
4848
private final List<Object> columnNames = new ArrayList<>();
4949
private final List<Object> columnValues = new ArrayList<>();
5050

51-
protected Log statementLog;
52-
protected int queryStack;
51+
protected final Log statementLog;
52+
protected final int queryStack;
5353

5454
/*
5555
* Default constructor

src/main/java/org/apache/ibatis/logging/jdbc/ResultSetLogger.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
*/
3939
public final class ResultSetLogger extends BaseJdbcLogger implements InvocationHandler {
4040

41-
private static Set<Integer> BLOB_TYPES = new HashSet<>();
41+
private static final Set<Integer> BLOB_TYPES = new HashSet<>();
4242
private boolean first = true;
4343
private int rows;
4444
private final ResultSet rs;

0 commit comments

Comments
 (0)