This is an automated email from the ASF dual-hosted git repository.
dazeydev pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openjpa.git
The following commit(s) were added to refs/heads/master by this push:
new 7c54dd8 OPENJPA-2767: fix for checkstyles (#48)
7c54dd8 is described below
commit 7c54dd855ba283cb6bb0ff87355a00fd60edfbd4
Author: Will Dazey <[email protected]>
AuthorDate: Thu Jun 13 10:13:29 2019 -0500
OPENJPA-2767: fix for checkstyles (#48)
Signed-off-by: Will Dazey <[email protected]>
---
.../src/main/java/org/apache/openjpa/meta/MetaDataRepository.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
a/openjpa-kernel/src/main/java/org/apache/openjpa/meta/MetaDataRepository.java
b/openjpa-kernel/src/main/java/org/apache/openjpa/meta/MetaDataRepository.java
index 0525e22..633173e 100644
---
a/openjpa-kernel/src/main/java/org/apache/openjpa/meta/MetaDataRepository.java
+++
b/openjpa-kernel/src/main/java/org/apache/openjpa/meta/MetaDataRepository.java
@@ -1842,7 +1842,8 @@ public class MetaDataRepository implements
PCRegistry.RegisterClassListener, Con
/**
* Add the given value to the collection cached in the given map under the
given key.
*/
- private void addToCollection(Map<Class<?>, Collection<Class<?>>> map,
Class<?> key, Class<?> value, boolean inheritance) {
+ private void addToCollection(Map<Class<?>, Collection<Class<?>>> map,
+ Class<?> key, Class<?> value, boolean inheritance) {
if (_locking) {
synchronized (map) {
addToCollectionInternal(map, key, value, inheritance);
@@ -1852,7 +1853,8 @@ public class MetaDataRepository implements
PCRegistry.RegisterClassListener, Con
}
}
- private void addToCollectionInternal(Map<Class<?>, Collection<Class<?>>>
map, Class<?> key, Class<?> value, boolean inheritance) {
+ private void addToCollectionInternal(Map<Class<?>, Collection<Class<?>>>
map,
+ Class<?> key, Class<?> value, boolean inheritance) {
Collection<Class<?>> coll = map.get(key);
if (coll == null) {
if (inheritance) {