Polish: reorder the modifiers to comply with the Java Language Specification.

This commit is contained in:
igor-suhorukov
2018-03-08 19:36:00 +03:00
committed by Juergen Hoeller
parent a02aafe5fe
commit 0f7485b01d
50 changed files with 124 additions and 124 deletions

View File

@@ -46,7 +46,7 @@ class DatabasePopulatorConfigUtils {
}
}
static private BeanDefinition createDatabasePopulator(Element element, List<Element> scripts, String execution) {
private static BeanDefinition createDatabasePopulator(Element element, List<Element> scripts, String execution) {
BeanDefinitionBuilder builder = BeanDefinitionBuilder.genericBeanDefinition(CompositeDatabasePopulator.class);
boolean ignoreFailedDrops = element.getAttribute("ignore-failures").equals("DROPS");

View File

@@ -282,7 +282,7 @@ public abstract class AbstractJdbcCall {
* @throws org.springframework.dao.InvalidDataAccessApiUsageException if the object hasn't
* been correctly initialized, for example if no DataSource has been provided
*/
public synchronized final void compile() throws InvalidDataAccessApiUsageException {
public final synchronized void compile() throws InvalidDataAccessApiUsageException {
if (!isCompiled()) {
if (getProcedureName() == null) {
throw new InvalidDataAccessApiUsageException("Procedure or Function name is required");

View File

@@ -245,7 +245,7 @@ public abstract class AbstractJdbcInsert {
* @throws InvalidDataAccessApiUsageException if the object hasn't been correctly initialized,
* for example if no DataSource has been provided
*/
public synchronized final void compile() throws InvalidDataAccessApiUsageException {
public final synchronized void compile() throws InvalidDataAccessApiUsageException {
if (!isCompiled()) {
if (getTableName() == null) {
throw new InvalidDataAccessApiUsageException("Table name is required");

View File

@@ -177,7 +177,7 @@ public class Jdbc4SqlXmlHandler implements SqlXmlHandler {
/**
* Internal base class for {@link SqlXmlValue} implementations.
*/
private static abstract class AbstractJdbc4SqlXmlValue implements SqlXmlValue {
private abstract static class AbstractJdbc4SqlXmlValue implements SqlXmlValue {
@Nullable
private SQLXML xmlObject;