diff options
author | Jon Bratseth <bratseth@verizonmedia.com> | 2019-09-30 12:58:59 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@verizonmedia.com> | 2019-09-30 12:58:59 +0200 |
commit | 44f2ecfdaacd12062087fd91161a25cc302e6c6f (patch) | |
tree | 71bbe41d5cb5035ed2cd950b4886b1c90ee60c69 /vespajlib | |
parent | aa7061626f330bfb573f4afdbab8bc9ddd5ec927 (diff) |
Substitute properties in trace output
Diffstat (limited to 'vespajlib')
-rw-r--r-- | vespajlib/src/main/java/com/yahoo/text/Text.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vespajlib/src/main/java/com/yahoo/text/Text.java b/vespajlib/src/main/java/com/yahoo/text/Text.java index 0acb2407e68..706fd1583a3 100644 --- a/vespajlib/src/main/java/com/yahoo/text/Text.java +++ b/vespajlib/src/main/java/com/yahoo/text/Text.java @@ -143,9 +143,8 @@ public final class Text { sb.append(' '); return sb; } - /** - * Returns a string where any invalid characters in the input string is replaced by spaces - */ + + /** Returns a string where any invalid characters in the input string is replaced by spaces */ public static String stripInvalidCharacters(String string) { StringBuilder stripped = null; // lazy, as most string will not need stripping for (int i = 0; i < string.length();) { |