From 6391cbcec7f3c1f725ff712d820a711554b678b6 Mon Sep 17 00:00:00 2001 From: Jan Bartel Date: Thu, 28 Jan 2010 00:56:18 +0000 Subject: [PATCH] JETTY-776 Oops forgot to remove test code. git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1219 7e9141cc-0065-0410-87d8-b60c137991c4 --- .../java/org/eclipse/jetty/server/session/JdbcTestServer.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/test-sessions/test-jdbc-sessions/src/test/java/org/eclipse/jetty/server/session/JdbcTestServer.java b/tests/test-sessions/test-jdbc-sessions/src/test/java/org/eclipse/jetty/server/session/JdbcTestServer.java index 3e7aa0162af..d3c805a0ad3 100644 --- a/tests/test-sessions/test-jdbc-sessions/src/test/java/org/eclipse/jetty/server/session/JdbcTestServer.java +++ b/tests/test-sessions/test-jdbc-sessions/src/test/java/org/eclipse/jetty/server/session/JdbcTestServer.java @@ -26,7 +26,6 @@ public class JdbcTestServer extends AbstractTestServer public static final String CONNECTION_URL = "jdbc:derby:sessions;create=true"; public static final int SAVE_INTERVAL = 1; - protected boolean _optimize = true; static { @@ -46,7 +45,6 @@ public class JdbcTestServer extends AbstractTestServer public JdbcTestServer (int port, boolean optimize) { super(port); - _optimize=optimize; } /** @@ -80,7 +78,6 @@ public class JdbcTestServer extends AbstractTestServer JDBCSessionManager manager = new JDBCSessionManager(); manager.setIdManager((JDBCSessionIdManager)_sessionIdManager); manager.setSaveInterval(SAVE_INTERVAL); //ensure we save any changes to the session at least once per second - manager.setOptimizeDbAccess(_optimize); //or go to the database every time return manager; }