From 6a011bbc01f2811bdfbbe12a50590d2c3bcf6956 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Boutemy?= Date: Sat, 4 Apr 2015 22:57:40 +0200 Subject: [PATCH] fixed error reported by Checkstyle --- .../settings/validation/DefaultSettingsValidator.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java index b32471113f..5d17456dcc 100644 --- a/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java +++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java @@ -233,7 +233,7 @@ public class DefaultSettingsValidator * */ private static boolean validateNotNull( SettingsProblemCollector problems, String fieldName, Object object, - String sourceHint ) + String sourceHint ) { if ( object != null ) { @@ -245,8 +245,9 @@ public class DefaultSettingsValidator return false; } - private static boolean validateBannedCharacters( SettingsProblemCollector problems, String fieldName, Severity severity, - String string, String sourceHint, String banned ) + private static boolean validateBannedCharacters( SettingsProblemCollector problems, String fieldName, + Severity severity, String string, String sourceHint, + String banned ) { if ( string != null ) {