fixed error reported by Checkstyle

This commit is contained in:
Hervé Boutemy 2015-04-04 22:57:40 +02:00
parent 874eaef725
commit 6a011bbc01
1 changed files with 4 additions and 3 deletions

View File

@ -233,7 +233,7 @@ public class DefaultSettingsValidator
* </ul> * </ul>
*/ */
private static boolean validateNotNull( SettingsProblemCollector problems, String fieldName, Object object, private static boolean validateNotNull( SettingsProblemCollector problems, String fieldName, Object object,
String sourceHint ) String sourceHint )
{ {
if ( object != null ) if ( object != null )
{ {
@ -245,8 +245,9 @@ public class DefaultSettingsValidator
return false; return false;
} }
private static boolean validateBannedCharacters( SettingsProblemCollector problems, String fieldName, Severity severity, private static boolean validateBannedCharacters( SettingsProblemCollector problems, String fieldName,
String string, String sourceHint, String banned ) Severity severity, String string, String sourceHint,
String banned )
{ {
if ( string != null ) if ( string != null )
{ {