SOLR-9557: reverting an optimization

This commit is contained in:
Noble Paul 2016-09-26 21:59:31 +05:30
parent 7a6567e4a6
commit f6622ef374
1 changed files with 0 additions and 3 deletions

View File

@ -26,8 +26,6 @@ import java.util.Locale;
import org.apache.solr.common.SolrException;
import static java.util.Collections.singletonList;
/**
*
*/
@ -41,7 +39,6 @@ public class StrUtils {
* outside strings.
*/
public static List<String> splitSmart(String s, char separator) {
if(s.indexOf(separator) == -1) return singletonList(s);
ArrayList<String> lst = new ArrayList<>(4);
int pos=0, start=0, end=s.length();
char inString=0;