diff --git a/extensions/oidc-common/runtime/src/main/java/io/quarkus/oidc/common/runtime/OidcCommonUtils.java b/extensions/oidc-common/runtime/src/main/java/io/quarkus/oidc/common/runtime/OidcCommonUtils.java index 33c6ce44bbe73..0f0881c594a9a 100644 --- a/extensions/oidc-common/runtime/src/main/java/io/quarkus/oidc/common/runtime/OidcCommonUtils.java +++ b/extensions/oidc-common/runtime/src/main/java/io/quarkus/oidc/common/runtime/OidcCommonUtils.java @@ -160,8 +160,8 @@ public static void setHttpClientOptions(OidcCommonConfig oidcConfig, HttpClientO } } catch (IOException ex) { throw new ConfigurationException(String.format( - "OIDC truststore file does not exist or can not be read", - oidcConfig.tls.trustStoreFile.get().toString()), ex); + "OIDC truststore file %s does not exist or can not be read", + oidcConfig.tls.trustStoreFile.get()), ex); } } if (oidcConfig.tls.keyStoreFile.isPresent()) { @@ -182,8 +182,8 @@ public static void setHttpClientOptions(OidcCommonConfig oidcConfig, HttpClientO } catch (IOException ex) { throw new ConfigurationException(String.format( - "OIDC keystore file does not exist or can not be read", - oidcConfig.tls.keyStoreFile.get().toString()), ex); + "OIDC keystore file %s does not exist or can not be read", + oidcConfig.tls.keyStoreFile.get()), ex); } } Optional proxyOpt = toProxyOptions(oidcConfig.getProxy()); diff --git a/extensions/qute/deployment/src/main/java/io/quarkus/qute/deployment/MessageBundleProcessor.java b/extensions/qute/deployment/src/main/java/io/quarkus/qute/deployment/MessageBundleProcessor.java index 3b45e64f29e94..2a9ff85c3a60c 100644 --- a/extensions/qute/deployment/src/main/java/io/quarkus/qute/deployment/MessageBundleProcessor.java +++ b/extensions/qute/deployment/src/main/java/io/quarkus/qute/deployment/MessageBundleProcessor.java @@ -864,7 +864,7 @@ boolean isEnumConstantMessageKey(String key, IndexView index, ClassInfo bundleIn return true; } throw new MessageBundleException( - String.format("%s is not an enum constant of %: %s", constant, maybeEnum, key)); + String.format("%s is not an enum constant of %s: %s", constant, maybeEnum, key)); } } }