final String version = (String) keys.get(NuGetPackageAttributes.VERSION);
while (indexEntries.hasNext()) {
final NuGetIndexEntry indexEntry = indexEntries.next();
final Map<String, String> attributes = indexEntry.getAttributes();
if (id != null) {
<BUG>if (!attributes.get(NuGetPackageAttributes.ID).equalsIgnoreCase(id)){
</BUG>
continue;
}
}

final String version = (String) keys.get(NuGetPackageAttributes.VERSION);
while (indexEntries.hasNext()) {
final NuGetIndexEntry indexEntry = indexEntries.next();
final Map<String, String> attributes = indexEntry.getAttributes();
if (id != null) {
if (!attributes.get(NuGetPackageAttributes.ID).equalsIgnoreCase(id)) {
continue;
}
}
