Use internal flag to determine whether to persist generated proxy classes.

pull/126/head
Brett Wooldridge 11 years ago
parent 7eb99e71d5
commit 99f2ebf6db

@ -185,7 +185,7 @@ public final class JavassistProxyFactory
} }
} }
if (LoggerFactory.getLogger(getClass()).isDebugEnabled()) { if (Boolean.getBoolean("com.zaxxer.hikari.debug")) {
targetCt.debugWriteFile(System.getProperty("java.io.tmpdir")); targetCt.debugWriteFile(System.getProperty("java.io.tmpdir"));
} }

@ -186,7 +186,7 @@ public final class JavassistProxyFactory
} }
} }
if (LoggerFactory.getLogger(getClass()).isDebugEnabled()) { if (Boolean.getBoolean("com.zaxxer.hikari.debug")) {
targetCt.debugWriteFile(System.getProperty("java.io.tmpdir")); targetCt.debugWriteFile(System.getProperty("java.io.tmpdir"));
} }

Loading…
Cancel
Save