Commit e036ce12 authored by Tom Evans's avatar Tom Evans

Support mock testing for DB (SchemaManager)

Remove "private" default constructor to enable subclasses, mock
testing,, etc.
parent 5df5dab9
...@@ -70,13 +70,6 @@ public class SchemaManager { ...@@ -70,13 +70,6 @@ public class SchemaManager {
*/ */
private static final int DATABASE_VERSION = 22; private static final int DATABASE_VERSION = 22;
/**
* Creates a new Schema manager.
*/
SchemaManager() {
}
/** /**
* Checks the Openfire database schema to ensure that it's installed and up to date. * Checks the Openfire database schema to ensure that it's installed and up to date.
* If the schema isn't present or up to date, an automatic update will be attempted. * If the schema isn't present or up to date, an automatic update will be attempted.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment