Skip to content

Commit

Permalink
rename SessionFactoryImpl to ServerSessionFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
codefollower committed Jan 25, 2017
1 parent 6248048 commit 884f28b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lealone-db/src/main/java/org/lealone/db/DatabaseEngine.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
*/
public class DatabaseEngine {

private static final SessionFactoryImpl SESSION_FACTORY = new SessionFactoryImpl();
private static final ServerSessionFactory SESSION_FACTORY = new ServerSessionFactory();

public static List<Database> getDatabases() {
return LealoneDatabase.getInstance().getDatabases();
Expand All @@ -56,7 +56,7 @@ public static ServerSession createSession(ConnectionInfo ci) {
private DatabaseEngine() {
}

private static class SessionFactoryImpl implements SessionFactory {
private static class ServerSessionFactory implements SessionFactory {

private volatile long wrongPasswordDelay = SysProperties.DELAY_WRONG_PASSWORD_MIN;

Expand Down
2 changes: 1 addition & 1 deletion lealone-test/src/test/java/org/lealone/test/TestBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class TestBase extends Assert {
public static final String DEFAULT_STORAGE_ENGINE_NAME = getDefaultStorageEngineName();
public static final String TEST_DIR = "." + File.separatorChar + "lealone-test-data" + File.separatorChar + "test";
public static final String TEST = "test";
public static final String LEALONE = " lealone";
public static final String LEALONE = "lealone";
public static final String DB_NAME = TEST;
public static final String USER = "root";
public static final String PASSWORD = "";
Expand Down

0 comments on commit 884f28b

Please sign in to comment.