minor: methods could be static
This commit is contained in:
parent
1dba48ae3e
commit
4bf6d59f58
|
@ -143,7 +143,7 @@ public class StrategySelectorBuilder {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addTransactionCoordinatorBuilders(StrategySelectorImpl strategySelector) {
|
private static void addTransactionCoordinatorBuilders(StrategySelectorImpl strategySelector) {
|
||||||
strategySelector.registerStrategyImplementor(
|
strategySelector.registerStrategyImplementor(
|
||||||
TransactionCoordinatorBuilder.class,
|
TransactionCoordinatorBuilder.class,
|
||||||
JdbcResourceLocalTransactionCoordinatorBuilderImpl.SHORT_NAME,
|
JdbcResourceLocalTransactionCoordinatorBuilderImpl.SHORT_NAME,
|
||||||
|
@ -173,7 +173,7 @@ public class StrategySelectorBuilder {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addSqmMultiTableMutationStrategies(StrategySelectorImpl strategySelector) {
|
private static void addSqmMultiTableMutationStrategies(StrategySelectorImpl strategySelector) {
|
||||||
strategySelector.registerStrategyImplementor(
|
strategySelector.registerStrategyImplementor(
|
||||||
SqmMultiTableMutationStrategy.class,
|
SqmMultiTableMutationStrategy.class,
|
||||||
CteMutationStrategy.SHORT_NAME,
|
CteMutationStrategy.SHORT_NAME,
|
||||||
|
@ -196,7 +196,7 @@ public class StrategySelectorBuilder {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addImplicitNamingStrategies(StrategySelectorImpl strategySelector) {
|
private static void addImplicitNamingStrategies(StrategySelectorImpl strategySelector) {
|
||||||
strategySelector.registerStrategyImplementor(
|
strategySelector.registerStrategyImplementor(
|
||||||
ImplicitNamingStrategy.class,
|
ImplicitNamingStrategy.class,
|
||||||
"default",
|
"default",
|
||||||
|
@ -243,7 +243,7 @@ public class StrategySelectorBuilder {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addCacheKeysFactories(StrategySelectorImpl strategySelector) {
|
private static void addCacheKeysFactories(StrategySelectorImpl strategySelector) {
|
||||||
strategySelector.registerStrategyImplementor(
|
strategySelector.registerStrategyImplementor(
|
||||||
CacheKeysFactory.class,
|
CacheKeysFactory.class,
|
||||||
DefaultCacheKeysFactory.SHORT_NAME,
|
DefaultCacheKeysFactory.SHORT_NAME,
|
||||||
|
@ -256,7 +256,7 @@ public class StrategySelectorBuilder {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addJsonFormatMappers(StrategySelectorImpl strategySelector) {
|
private static void addJsonFormatMappers(StrategySelectorImpl strategySelector) {
|
||||||
strategySelector.registerStrategyImplementor(
|
strategySelector.registerStrategyImplementor(
|
||||||
FormatMapper.class,
|
FormatMapper.class,
|
||||||
JacksonJsonFormatMapper.SHORT_NAME,
|
JacksonJsonFormatMapper.SHORT_NAME,
|
||||||
|
@ -269,7 +269,7 @@ public class StrategySelectorBuilder {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addXmlFormatMappers(StrategySelectorImpl strategySelector) {
|
private static void addXmlFormatMappers(StrategySelectorImpl strategySelector) {
|
||||||
strategySelector.registerStrategyImplementor(
|
strategySelector.registerStrategyImplementor(
|
||||||
FormatMapper.class,
|
FormatMapper.class,
|
||||||
JacksonXmlFormatMapper.SHORT_NAME,
|
JacksonXmlFormatMapper.SHORT_NAME,
|
||||||
|
|
Loading…
Reference in New Issue