mirror of https://github.com/apache/maven.git
fixed error reported by Checkstyle
This commit is contained in:
parent
874eaef725
commit
6a011bbc01
|
@ -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 )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue