From 1e2cb3f45a7583bc9d916794d42eaafb47cdf3ac Mon Sep 17 00:00:00 2001 From: Bas Passon Date: Thu, 18 Jan 2024 10:18:07 +0100 Subject: [PATCH] Fixed text issue in exception message --- .../resteasy/reactive/links/deployment/LinksProcessor.java | 2 +- .../links/deployment/RestLinksWithFailureInjectionTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/resteasy-reactive/quarkus-resteasy-reactive-links/deployment/src/main/java/io/quarkus/resteasy/reactive/links/deployment/LinksProcessor.java b/extensions/resteasy-reactive/quarkus-resteasy-reactive-links/deployment/src/main/java/io/quarkus/resteasy/reactive/links/deployment/LinksProcessor.java index 5f4c544ae8fa53..9db9a920aae36b 100644 --- a/extensions/resteasy-reactive/quarkus-resteasy-reactive-links/deployment/src/main/java/io/quarkus/resteasy/reactive/links/deployment/LinksProcessor.java +++ b/extensions/resteasy-reactive/quarkus-resteasy-reactive-links/deployment/src/main/java/io/quarkus/resteasy/reactive/links/deployment/LinksProcessor.java @@ -265,7 +265,7 @@ private void validateRec(IndexView index, String entityType, ClassInfo classInfo DotName superClassName = classInfo.superName(); if (superClassName == null) { throw new IllegalStateException("Cannot generate web links for the class " + entityType + - " because it is either missing an `id` field, a field with an `@Id` annotation or a field with `@RestLinkId annotation"); + " because it is either missing an `id` field, a field with an `@Id` annotation or a field with an `@RestLinkId annotation"); } // Id field not found but there's still hope diff --git a/extensions/resteasy-reactive/quarkus-resteasy-reactive-links/deployment/src/test/java/io/quarkus/resteasy/reactive/links/deployment/RestLinksWithFailureInjectionTest.java b/extensions/resteasy-reactive/quarkus-resteasy-reactive-links/deployment/src/test/java/io/quarkus/resteasy/reactive/links/deployment/RestLinksWithFailureInjectionTest.java index 6af8250d85aa28..c96fcc26142500 100644 --- a/extensions/resteasy-reactive/quarkus-resteasy-reactive-links/deployment/src/test/java/io/quarkus/resteasy/reactive/links/deployment/RestLinksWithFailureInjectionTest.java +++ b/extensions/resteasy-reactive/quarkus-resteasy-reactive-links/deployment/src/test/java/io/quarkus/resteasy/reactive/links/deployment/RestLinksWithFailureInjectionTest.java @@ -18,7 +18,7 @@ public class RestLinksWithFailureInjectionTest { assertThat(rootCause).isInstanceOf(IllegalStateException.class) .hasMessageContaining("Cannot generate web links for the class " + "io.quarkus.resteasy.reactive.links.deployment.TestRecordNoId because it is " + - "either missing an `id` field, a field with an `@Id` annotation or a field with `@RestLinkId annotation"); + "either missing an `id` field, a field with an `@Id` annotation or a field with an `@RestLinkId annotation"); }); @Test