import java.util.HashMap;
public final class ResourceIndex extends HashMap<SourceCode, Resource> {
public ResourceIndex loadSquidResources(Squid squid, SensorContext context, Project project) {
loadSquidProject(squid, project);
loadSquidPackages(squid, context);
<BUG>loadSquidFiles(squid, context);
return this;</BUG>
}
private void loadSquidProject(Squid squid, Project project) {
put(squid.getProject(), project);

import java.util.HashMap;
public final class ResourceIndex extends HashMap<SourceCode, Resource> {
public ResourceIndex loadSquidResources(Squid squid, SensorContext context, Project project) {
loadSquidProject(squid, project);
loadSquidPackages(squid, context);
loadSquidFiles(squid, context);
loadSquidClasses(squid, context);
return this;
}
private void loadSquidProject(Squid squid, Project project) {
put(squid.getProject(), project);
