From 0df4142a05c25e9b600cbf3f21c9f4575266eab7 Mon Sep 17 00:00:00 2001 From: Brett Wooldridge Date: Thu, 9 Jan 2014 17:46:25 +0900 Subject: [PATCH] Make the things we can private and final. --- .../src/main/java/com/zaxxer/hikari/proxy/StatementProxy.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/com/zaxxer/hikari/proxy/StatementProxy.java b/core/src/main/java/com/zaxxer/hikari/proxy/StatementProxy.java index 32bf8034..f3b771b4 100644 --- a/core/src/main/java/com/zaxxer/hikari/proxy/StatementProxy.java +++ b/core/src/main/java/com/zaxxer/hikari/proxy/StatementProxy.java @@ -32,10 +32,10 @@ public abstract class StatementProxy implements Statement protected final IHikariConnectionProxy connection; - protected boolean isClosed; - protected final Statement delegate; + private boolean isClosed; + static { PROXY_FACTORY = JavassistProxyFactoryFactory.getProxyFactory();