You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2021/02/11 07:59:40 UTC

[isis] branch ISIS-2502-ex.recog updated (c93f6f9 -> db67933)

This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a change to branch ISIS-2502-ex.recog
in repository https://gitbox.apache.org/repos/asf/isis.git.


    from c93f6f9  ISIS-2502: polishing the AopPatch
     add d14adde  Merge pull request #373 from apache/ISIS-2502-ex.recog
     new db67933  ISIS-2502: potential NPE in AopPatch

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../main/java/org/apache/isis/core/config/beans/aoppatch/AopPatch.java  | 2 +-
 .../jdo/datanucleus/metamodel/facets/entity/JdoEntityFacet.java         | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)


[isis] 01/01: ISIS-2502: potential NPE in AopPatch

Posted by ah...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch ISIS-2502-ex.recog
in repository https://gitbox.apache.org/repos/asf/isis.git

commit db6793341c39db0d518ae30fc08f5e30fa1cc24e
Author: Andi Huber <ah...@apache.org>
AuthorDate: Thu Feb 11 08:59:25 2021 +0100

    ISIS-2502: potential NPE in AopPatch
---
 .../main/java/org/apache/isis/core/config/beans/aoppatch/AopPatch.java  | 2 +-
 .../jdo/datanucleus/metamodel/facets/entity/JdoEntityFacet.java         | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/core/config/src/main/java/org/apache/isis/core/config/beans/aoppatch/AopPatch.java b/core/config/src/main/java/org/apache/isis/core/config/beans/aoppatch/AopPatch.java
index 5f4a098..f030fea 100644
--- a/core/config/src/main/java/org/apache/isis/core/config/beans/aoppatch/AopPatch.java
+++ b/core/config/src/main/java/org/apache/isis/core/config/beans/aoppatch/AopPatch.java
@@ -84,7 +84,7 @@ public class AopPatch implements ApplicationContextAware {
     // -- HELPER
 
     private TransactionInterceptor patchedTransactionInterceptor(
-            final @NonNull  TransactionAttributeSource transactionAttributeSource,
+            final @Nullable TransactionAttributeSource transactionAttributeSource,
             final @Nullable TransactionInterceptorFactory transactionInterceptorFactory,
             final @NonNull  TransactionManager txManager) {
         
diff --git a/persistence/jdo/datanucleus/src/main/java/org/apache/isis/persistence/jdo/datanucleus/metamodel/facets/entity/JdoEntityFacet.java b/persistence/jdo/datanucleus/src/main/java/org/apache/isis/persistence/jdo/datanucleus/metamodel/facets/entity/JdoEntityFacet.java
index 4baf5a4..fb64837 100644
--- a/persistence/jdo/datanucleus/src/main/java/org/apache/isis/persistence/jdo/datanucleus/metamodel/facets/entity/JdoEntityFacet.java
+++ b/persistence/jdo/datanucleus/src/main/java/org/apache/isis/persistence/jdo/datanucleus/metamodel/facets/entity/JdoEntityFacet.java
@@ -34,7 +34,6 @@ import org.apache.isis.applib.query.AllInstancesQuery;
 import org.apache.isis.applib.query.NamedQuery;
 import org.apache.isis.applib.query.Query;
 import org.apache.isis.applib.services.exceprecog.Category;
-import org.apache.isis.applib.services.exceprecog.ExceptionRecognizer;
 import org.apache.isis.applib.services.exceprecog.ExceptionRecognizerService;
 import org.apache.isis.applib.services.repository.EntityState;
 import org.apache.isis.applib.services.xactn.TransactionService;