diff --git a/extensions/arc/runtime/src/main/java/io/quarkus/arc/runtime/NativeBuildConfigCheckInterceptor.java b/extensions/arc/runtime/src/main/java/io/quarkus/arc/runtime/NativeBuildConfigCheckInterceptor.java index 6c6564292d0b00..4c5ef48130c77f 100644 --- a/extensions/arc/runtime/src/main/java/io/quarkus/arc/runtime/NativeBuildConfigCheckInterceptor.java +++ b/extensions/arc/runtime/src/main/java/io/quarkus/arc/runtime/NativeBuildConfigCheckInterceptor.java @@ -68,8 +68,7 @@ static void verifyCurrentImageMode(Set buildAndRunTimeFixed) { b.append("\nPOSSIBLE CONFIG INJECTION PROBLEM DETECTED\n"); b.append("-".repeat(120)); b.append("\nA config object was injected during the static initialization phase of a native image build.\n"); - b.append( - "This may result in unexpected errors.\n"); + b.append("This may result in unexpected errors.\n"); b.append("The injected value was obtained at native image build time and cannot be updated at runtime.\n\n"); if (injectionPoint != null) { b.append("Injection point: "); @@ -81,9 +80,9 @@ static void verifyCurrentImageMode(Set buildAndRunTimeFixed) { b.append(NativeBuildTime.class.getName()); b.append(" to eliminate the false positive\n"); b.append( - "\t- You can leverage the programmatic lookup to delay the injection of a config property; for example '@ConfigProperty(name = \"foo\") Instance foo'\n"); + "\t- You can leverage the programmatic lookup to delay the retrieval of a config property; for example '@ConfigProperty(name = \"foo\") Instance foo'\n"); b.append( - "\t- You can try to use a normal CDI scope to initialize the bean lazily; this may help if the is only injected but not directly used during the static initialization phase"); + "\t- You can try to assign a normal CDI scope (e.g. @ApplicationScoped) to the bean to initialize it lazily; this may help if the bean is only injected but not directly used during the static initialization phase"); b.append("\n"); b.append("=".repeat(120)); b.append("\n\n");