import org.sonar.core.component.ComponentKeys;
public class DefaultIndex {
private static final Logger LOG = LoggerFactory.getLogger(DefaultIndex.class);
private final BatchComponentCache componentCache;
private final MeasureCache measureCache;
<BUG>private final PathResolver pathResolver;</BUG>
private final DefaultProjectTree projectTree;
private DefaultSensorStorage sensorStorage;
private Project currentProject;
private Map<Resource, Bucket> buckets = Maps.newLinkedHashMap();
<BUG>public DefaultIndex(BatchComponentCache componentCache, DefaultProjectTree projectTree, MeasureCache measureCache, PathResolver pathResolver) {
this.componentCache = componentCache;</BUG>
this.projectTree = projectTree;

import org.sonar.core.component.ComponentKeys;
public class DefaultIndex {
private static final Logger LOG = LoggerFactory.getLogger(DefaultIndex.class);
private final BatchComponentCache componentCache;
private final MeasureCache measureCache;
private final DefaultProjectTree projectTree;
private DefaultSensorStorage sensorStorage;
private Project currentProject;
private Map<Resource, Bucket> buckets = Maps.newLinkedHashMap();
public DefaultIndex(BatchComponentCache componentCache, DefaultProjectTree projectTree, MeasureCache measureCache) {
this.componentCache = componentCache;
this.projectTree = projectTree;
