This is an automated email from the ASF dual-hosted git repository.
dazeydev pushed a commit to branch 2.2.x
in repository https://gitbox.apache.org/repos/asf/openjpa.git
The following commit(s) were added to refs/heads/2.2.x by this push:
new 4d673f3 OPENJPA-2767: fix for checkstyles
new 02ca464 Merge pull request #47 from dazey3/2767_2.2.x
4d673f3 is described below
commit 4d673f3715b2f3ae28d9bb4d70fad431eece8cb6
Author: Will Dazey <[email protected]>
AuthorDate: Mon May 20 11:17:24 2019 -0500
OPENJPA-2767: fix for checkstyles
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 37c8a6b..3c1884f 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
@@ -1839,7 +1839,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);
@@ -1849,7 +1850,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) {