From a945ecbbdda782b51d5c2c670345fbf4dffacab7 Mon Sep 17 00:00:00 2001 From: pascalschumacher Date: Sun, 23 Oct 2016 19:30:38 +0200 Subject: [PATCH] StringUtils#replacePattern: fix source code formatting --- src/main/java/org/apache/commons/lang3/StringUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/lang3/StringUtils.java b/src/main/java/org/apache/commons/lang3/StringUtils.java index 559444de9..8405a9f84 100644 --- a/src/main/java/org/apache/commons/lang3/StringUtils.java +++ b/src/main/java/org/apache/commons/lang3/StringUtils.java @@ -5143,7 +5143,7 @@ public class StringUtils { * @since 3.5 Changed {@code null} reference passed to this method is a no-op. */ public static String replacePattern(final String source, final String regex, final String replacement) { - if (source == null || regex == null|| replacement == null ) { + if (source == null || regex == null || replacement == null) { return source; } return Pattern.compile(regex, Pattern.DOTALL).matcher(source).replaceAll(replacement);