From e50ff95422913bec8b3b02ef33d37f36eb4746c9 Mon Sep 17 00:00:00 2001 From: "Matteo Franci a.k.a. Fugerit" Date: Thu, 19 Dec 2024 20:48:43 +0100 Subject: [PATCH] check duplicate values (code formatting) #1269 --- .../main/java/io/smallrye/config/ConfigValueConfigSource.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/implementation/src/main/java/io/smallrye/config/ConfigValueConfigSource.java b/implementation/src/main/java/io/smallrye/config/ConfigValueConfigSource.java index 8ee3cd5a4..2bc2501d8 100644 --- a/implementation/src/main/java/io/smallrye/config/ConfigValueConfigSource.java +++ b/implementation/src/main/java/io/smallrye/config/ConfigValueConfigSource.java @@ -416,7 +416,8 @@ private void load0(LineReader lr) throws IOException { .withLineNumber(lr.lineNumber) .build()); if (oldConfigValue != null) { - ConfigLogging.log.duplicateValue( oldConfigValue.getName(), oldConfigValue.getConfigSourceName(), oldConfigValue.getValue() ); + ConfigLogging.log.duplicateValue(oldConfigValue.getName(), oldConfigValue.getConfigSourceName(), + oldConfigValue.getValue()); } } }