private String[] extractHeaderList(String headerList, int prefixLen) {
String tmp = headerList.substring(prefixLen + 1, headerList.length() - 1);
return split(tmp, " ");
}
private String[] split(String value, String delimiter) {
<BUG>List<String> strings = new ArrayList<String>();
int startPos = 0;</BUG>
int delimPos;
while ((delimPos = value.indexOf(delimiter, startPos)) != -1) {
String sub = value.substring(startPos, delimPos);

private String[] extractHeaderList(String headerList, int prefixLen) {
String tmp = headerList.substring(prefixLen + 1, headerList.length() - 1);
return split(tmp, " ");
}
private String[] split(String value, String delimiter) {
List<String> strings = new ArrayList<>();
int startPos = 0;
int delimPos;
while ((delimPos = value.indexOf(delimiter, startPos)) != -1) {
String sub = value.substring(startPos, delimPos);
