Commit e5c2df8f authored by Unico Hommes's avatar Unico Hommes

ENT-244 use StringBuilder instead of StringBuffer

parent cbfe0b77
......@@ -40,7 +40,6 @@ public final class FullTextSearchParser {
private static final String WHITESPACE_PATTERN = "\\s+";
private FullTextSearchParser() {
}
/**
......@@ -174,7 +173,7 @@ public final class FullTextSearchParser {
if(input == null) {
throw new IllegalArgumentException("Input is not allowed to be null");
}
StringBuffer sb = new StringBuffer();
StringBuilder sb = new StringBuilder();
boolean allowWildCardInCurrentTerm = allowSingleNonLeadingWildCardPerTerm;
boolean prevCharIsSpecialOrRemoved = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment