diff options
author | Jon Bratseth <bratseth@oath.com> | 2018-04-09 10:26:14 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@oath.com> | 2018-04-09 10:26:14 +0200 |
commit | 81ed93a94c09988cf5300e1119074ae6c7c33bd3 (patch) | |
tree | d155e1dd4d0cda5c950f18663442bf318e84e29b /vespajlib/src/main/java/com/yahoo/text/Text.java | |
parent | 6ba0cc49da461aeb1ccca49f87b8d299ce3a6519 (diff) |
Remove temporary code
Diffstat (limited to 'vespajlib/src/main/java/com/yahoo/text/Text.java')
-rw-r--r-- | vespajlib/src/main/java/com/yahoo/text/Text.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespajlib/src/main/java/com/yahoo/text/Text.java b/vespajlib/src/main/java/com/yahoo/text/Text.java index f3e1948649c..7748864ced5 100644 --- a/vespajlib/src/main/java/com/yahoo/text/Text.java +++ b/vespajlib/src/main/java/com/yahoo/text/Text.java @@ -109,7 +109,7 @@ public final class Text { StringBuilder stripped = null; // lazy, as most string will not need stripping for (int i = 0; i < string.length(); i++) { int codePoint = string.codePointAt(i); - if ( ! Text.isTextCharacter(codePoint) || codePoint == 'X' || codePoint == 'Y') { + if ( ! Text.isTextCharacter(codePoint)) { if (stripped == null) stripped = new StringBuilder(string.substring(0, i)); stripped.append(' '); |