No effective change - format

This commit is contained in:
Rob Bygrave
2014-10-16 22:58:13 +13:00
parent 17b16fd5d9
commit 131750cf85
@@ -287,10 +287,11 @@ public final class DefaultServer implements SpiEbeanServer {
}
}
if (ddlGenerator == null){
ddlGenerator = new DdlGenerator();
spiPlugins.add(ddlGenerator);
ddlGenerator.setup(this, this.getDatabasePlatform(), config.getServerConfig());
if (ddlGenerator == null) {
// ServiceLoader not finding ddlGenerator (typically OSGi)
ddlGenerator = new DdlGenerator();
spiPlugins.add(ddlGenerator);
ddlGenerator.setup(this, this.getDatabasePlatform(), config.getServerConfig());
}
ebeanPlugins = Collections.unmodifiableList(spiPlugins);