if (!headerValues.isEmpty()) {
List<String> packages = ContainerUtil.newArrayListWithCapacity(headerValues.size());
for (HeaderValue headerValue : headerValues) {
HeaderValuePart valuePart = ((Clause)headerValue).getValue();
if (valuePart != null) {
<BUG>String packageName = valuePart.getText().replaceAll("\\s+", "");

packages.add(packageName);</BUG>
}
}

if (!headerValues.isEmpty()) {
List<String> packages = ContainerUtil.newArrayListWithCapacity(headerValues.size());
for (HeaderValue headerValue : headerValues) {
HeaderValuePart valuePart = ((Clause)headerValue).getValue();
if (valuePart != null) {
packages.add(valuePart.getText().replaceAll("\\s+", ""));
}
}
