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/05/28 14:43:06 UTC

[isis] branch master updated: ISIS-2706: supposedly fixes compilation issues

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

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/master by this push:
     new 53cffe2  ISIS-2706: supposedly fixes compilation issues
53cffe2 is described below

commit 53cffe295807316554d5919036b81703b670b33b
Author: Andi Huber <ah...@apache.org>
AuthorDate: Fri May 28 16:42:50 2021 +0200

    ISIS-2706: supposedly fixes compilation issues
---
 .../jpa/entitylifecycle/JpaGeneratedLongIdEntityLifecycleTest.java      | 2 +-
 .../jpa/entitylifecycle/JpaNonGeneratedStringIdEntityLifecycleTest.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/regressiontests/stable-persistence-jpa/src/test/java/org/apache/isis/testdomain/persistence/jpa/entitylifecycle/JpaGeneratedLongIdEntityLifecycleTest.java b/regressiontests/stable-persistence-jpa/src/test/java/org/apache/isis/testdomain/persistence/jpa/entitylifecycle/JpaGeneratedLongIdEntityLifecycleTest.java
index 0c66f5e..184bd39 100644
--- a/regressiontests/stable-persistence-jpa/src/test/java/org/apache/isis/testdomain/persistence/jpa/entitylifecycle/JpaGeneratedLongIdEntityLifecycleTest.java
+++ b/regressiontests/stable-persistence-jpa/src/test/java/org/apache/isis/testdomain/persistence/jpa/entitylifecycle/JpaGeneratedLongIdEntityLifecycleTest.java
@@ -122,7 +122,7 @@ class JpaGeneratedLongIdEntityLifecycleTest {
         val entity = objectManager.adapt(
                 repository.firstMatch(
                         JpaEntityGeneratedLongId.class,
-                        entity->Objects.equals(entity.getId(), id))
+                        entityPojo->Objects.equals(entityPojo.getId(), id))
                 .orElseThrow(_Exceptions::noSuchElement));
 
         // expected pre-condition (before removal)
diff --git a/regressiontests/stable-persistence-jpa/src/test/java/org/apache/isis/testdomain/persistence/jpa/entitylifecycle/JpaNonGeneratedStringIdEntityLifecycleTest.java b/regressiontests/stable-persistence-jpa/src/test/java/org/apache/isis/testdomain/persistence/jpa/entitylifecycle/JpaNonGeneratedStringIdEntityLifecycleTest.java
index 65ff4d1..ad8842a 100644
--- a/regressiontests/stable-persistence-jpa/src/test/java/org/apache/isis/testdomain/persistence/jpa/entitylifecycle/JpaNonGeneratedStringIdEntityLifecycleTest.java
+++ b/regressiontests/stable-persistence-jpa/src/test/java/org/apache/isis/testdomain/persistence/jpa/entitylifecycle/JpaNonGeneratedStringIdEntityLifecycleTest.java
@@ -122,7 +122,7 @@ class JpaNonGeneratedStringIdEntityLifecycleTest {
         val entity = objectManager.adapt(
                 repository.firstMatch(
                         JpaEntityNonGeneratedStringId.class,
-                        entity->Objects.equals(entity.getName(), id))
+                        entityPojo->Objects.equals(entityPojo.getName(), id))
                 .orElseThrow(_Exceptions::noSuchElement));
 
         // expected pre-condition (before removal)