diff --git a/.github/workflows/default_temurin.yml b/.github/workflows/default_temurin.yml index 04877f37..50a1491e 100644 --- a/.github/workflows/default_temurin.yml +++ b/.github/workflows/default_temurin.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest,macos-latest,windows-latest ] - java: [ '8', '11', '17', '21' ] + java: [ '11', '17', '21' ] steps: - name: Checkout Code diff --git a/tools/src/test/java/io/toolisticon/aptk/tools/wrapper/TypeElementWrapperTest.java b/tools/src/test/java/io/toolisticon/aptk/tools/wrapper/TypeElementWrapperTest.java index 5b41c3f3..d62434d9 100644 --- a/tools/src/test/java/io/toolisticon/aptk/tools/wrapper/TypeElementWrapperTest.java +++ b/tools/src/test/java/io/toolisticon/aptk/tools/wrapper/TypeElementWrapperTest.java @@ -420,7 +420,7 @@ public void test_getOuterType() { MatcherAssert.assertThat(outerType.get().getQualifiedName(), Matchers.is(TypeElementWrapperTest.class.getCanonicalName())); outerType = outerType.get().getOuterType(); - MatcherAssert.assertThat(outerType.isEmpty(), Matchers.is(true)); + MatcherAssert.assertThat(outerType.isPresent(), Matchers.is(false)); MatcherAssert.assertThat(unit.getOuterTopLevelType().get().getQualifiedName(), Matchers.is(TypeElementWrapperTest.class.getCanonicalName()));