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

@@ -101,15 +101,15 @@ public class DefaultPersistenceUnitManager
* Default location of the {@code persistence.xml} file:
* "classpath*:META-INF/persistence.xml".
*/
public final static String DEFAULT_PERSISTENCE_XML_LOCATION = "classpath*:META-INF/" + PERSISTENCE_XML_FILENAME;
public static final String DEFAULT_PERSISTENCE_XML_LOCATION = "classpath*:META-INF/" + PERSISTENCE_XML_FILENAME;
/**
* Default location for the persistence unit root URL:
* "classpath:", indicating the root of the classpath.
*/
public final static String ORIGINAL_DEFAULT_PERSISTENCE_UNIT_ROOT_LOCATION = "classpath:";
public static final String ORIGINAL_DEFAULT_PERSISTENCE_UNIT_ROOT_LOCATION = "classpath:";
public final static String ORIGINAL_DEFAULT_PERSISTENCE_UNIT_NAME = "default";
public static final String ORIGINAL_DEFAULT_PERSISTENCE_UNIT_NAME = "default";
private static final Set<AnnotationTypeFilter> entityTypeFilters;

View File

@@ -191,7 +191,7 @@ public class PersistenceAnnotationBeanPostProcessor
@Nullable
private transient ListableBeanFactory beanFactory;
private transient final Map<String, InjectionMetadata> injectionMetadataCache = new ConcurrentHashMap<>(256);
private final transient Map<String, InjectionMetadata> injectionMetadataCache = new ConcurrentHashMap<>(256);
private final Map<Object, EntityManager> extendedEntityManagersToClose = new ConcurrentHashMap<>(16);