This is an automated email from the ASF dual-hosted git repository. pascalschumacher pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 94d4034 Remove tailing whitespace. 94d4034 is described below commit 94d4034bdaf3062bcf2e076a501b5bf234b04c35 Author: Pascal Schumacher <pascalschumac...@gmx.net> AuthorDate: Fri Jan 17 22:23:32 2020 +0100 Remove tailing whitespace. --- .../src/main/java/org/apache/camel/util/StringHelper.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/camel-util/src/main/java/org/apache/camel/util/StringHelper.java b/core/camel-util/src/main/java/org/apache/camel/util/StringHelper.java index 0e8ae58..5bed373 100644 --- a/core/camel-util/src/main/java/org/apache/camel/util/StringHelper.java +++ b/core/camel-util/src/main/java/org/apache/camel/util/StringHelper.java @@ -468,7 +468,7 @@ public final class StringHelper { public static <T> Optional<T> after(String text, String after, Function<String, T> mapper) { String result = after(text, after); if (result == null) { - return Optional.empty(); + return Optional.empty(); } else { return Optional.ofNullable(mapper.apply(result)); } @@ -500,7 +500,7 @@ public final class StringHelper { public static <T> Optional<T> before(String text, String before, Function<String, T> mapper) { String result = before(text, before); if (result == null) { - return Optional.empty(); + return Optional.empty(); } else { return Optional.ofNullable(mapper.apply(result)); } @@ -534,7 +534,7 @@ public final class StringHelper { public static <T> Optional<T> between(String text, String after, String before, Function<String, T> mapper) { String result = between(text, after, before); if (result == null) { - return Optional.empty(); + return Optional.empty(); } else { return Optional.ofNullable(mapper.apply(result)); } @@ -615,7 +615,7 @@ public final class StringHelper { public static <T> Optional<T> betweenOuterPair(String text, char before, char after, Function<String, T> mapper) { String result = betweenOuterPair(text, before, after); if (result == null) { - return Optional.empty(); + return Optional.empty(); } else { return Optional.ofNullable(mapper.apply(result)); }