String sub = value.substring(startPos);
strings.add(sub);
return strings.toArray(new String[strings.size()]);
}
private void addHeaders(Enumeration inum, StringBuilder response) {
<BUG>List<String> lines = new ArrayList<String>();
int count = 0;</BUG>
while (inum.hasMoreElements()) {
String line = (String) inum.nextElement();
count += line.length() + 2;

String sub = value.substring(startPos);
strings.add(sub);
return strings.toArray(new String[strings.size()]);
}
private void addHeaders(Enumeration inum, StringBuilder response) {
List<String> lines = new ArrayList<>();
int count = 0;
while (inum.hasMoreElements()) {
String line = (String) inum.nextElement();
count += line.length() + 2;
