From a2965e7c3bfd72ad439229b0c5cd9760ae103aaa Mon Sep 17 00:00:00 2001 From: Krzysztof Sobolewski Date: Wed, 13 Sep 2023 13:56:28 +0200 Subject: [PATCH] Ban two Assertions classes from AssertJ Quoting the ``: > These classes were introduced to overcome type inference issues in > Java 8, but the regular `org.assertj.core.api.Assertions` works just > fine and has a richer API. --- airbase/pom.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/airbase/pom.xml b/airbase/pom.xml index 72235c8f9..c33fbddbb 100644 --- a/airbase/pom.xml +++ b/airbase/pom.xml @@ -419,6 +419,15 @@ org.testng.AssertJUnit.* + + These classes were introduced to overcome type inference issues in Java 8, but the regular org.assertj.core.api.Assertions works just fine and has a richer API + + org.assertj.core.api.AssertionsForClassTypes + org.assertj.core.api.AssertionsForClassTypes.* + org.assertj.core.api.AssertionsForInterfaceTypes + org.assertj.core.api.AssertionsForInterfaceTypes.* + +