Formatting
This commit is contained in:
@@ -73,9 +73,8 @@ public class BatchProperties {
|
||||
public class Initializer {
|
||||
|
||||
/**
|
||||
* Create the required batch tables on startup if necessary. Enabled
|
||||
* automatically if no custom table prefix is set or if a custom schema is
|
||||
* configured.
|
||||
* Create the required batch tables on startup if necessary. Enabled automatically
|
||||
* if no custom table prefix is set or if a custom schema is configured.
|
||||
*/
|
||||
private Boolean enabled;
|
||||
|
||||
@@ -84,8 +83,8 @@ public class BatchProperties {
|
||||
return this.enabled;
|
||||
}
|
||||
boolean defaultTablePrefix = BatchProperties.this.getTablePrefix() == null;
|
||||
boolean customSchema = !DEFAULT_SCHEMA_LOCATION.equals(
|
||||
BatchProperties.this.getSchema());
|
||||
boolean customSchema = !DEFAULT_SCHEMA_LOCATION
|
||||
.equals(BatchProperties.this.getSchema());
|
||||
return (defaultTablePrefix || customSchema);
|
||||
}
|
||||
|
||||
|
||||
@@ -154,10 +154,10 @@ public class SessionProperties {
|
||||
if (this.enabled != null) {
|
||||
return this.enabled;
|
||||
}
|
||||
boolean defaultTableName = DEFAULT_TABLE_NAME.equals(
|
||||
Jdbc.this.getTableName());
|
||||
boolean customSchema = !DEFAULT_SCHEMA_LOCATION.equals(
|
||||
Jdbc.this.getSchema());
|
||||
boolean defaultTableName = DEFAULT_TABLE_NAME
|
||||
.equals(Jdbc.this.getTableName());
|
||||
boolean customSchema = !DEFAULT_SCHEMA_LOCATION
|
||||
.equals(Jdbc.this.getSchema());
|
||||
return (defaultTableName || customSchema);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user