From 5f6c54703b7fb4b736af06cf05a88878bf8184f2 Mon Sep 17 00:00:00 2001 From: Richard Treier Date: Thu, 21 Dec 2023 14:53:34 +0100 Subject: [PATCH] chore: fix codestyle, no concatenated strings --- .../org/eclipse/edc/iam/oauth2/Oauth2ServiceExtension.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/extensions/common/iam/oauth2/oauth2-core/src/main/java/org/eclipse/edc/iam/oauth2/Oauth2ServiceExtension.java b/extensions/common/iam/oauth2/oauth2-core/src/main/java/org/eclipse/edc/iam/oauth2/Oauth2ServiceExtension.java index c58824680a1..f2c99518b8f 100644 --- a/extensions/common/iam/oauth2/oauth2-core/src/main/java/org/eclipse/edc/iam/oauth2/Oauth2ServiceExtension.java +++ b/extensions/common/iam/oauth2/oauth2-core/src/main/java/org/eclipse/edc/iam/oauth2/Oauth2ServiceExtension.java @@ -178,8 +178,10 @@ private Oauth2ServiceConfiguration createConfig(ServiceExtensionContext context) private int getIssuedAtValidationLeeway(ServiceExtensionContext context) { if (!context.getConfig().hasKey(ISSUED_AT_LEEWAY)) { - var message = format("No value was configured for '%s'. Consider setting a leeway " + - "of 2-5s in production to avoid problems with clock skew.", ISSUED_AT_LEEWAY); + var message = format( + "No value was configured for '%s'. Consider setting a leeway of 2-5s in production to avoid problems with clock skew.", + ISSUED_AT_LEEWAY + ); context.getMonitor().info(message); }