<CONTEXT></BUG>private final AggregateDao aggregateDao;private final TraceDao traceDao;private final GaugeValueDao gaugeValueDao;<extra_id_0>private final AggregateDao aggregateDao;private final TraceDao traceDao;private final GaugeValueDao gaugeValueDao;<BUG>CollectorImpl(AgentDao agentDao, AggregateDao aggregateRepository, TraceDao traceRepository,GaugeValueDao gaugeValueRepository) {this.agentDao = agentDao;</BUG>this.aggregateDao = aggregateRepository;this.traceDao = traceRepository;</CONTEXT>
import org.glowroot.wire.api.model.CollectorServiceOuterClass.Environment;import org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue;import org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent;import org.glowroot.wire.api.model.TraceOuterClass.Trace;class CollectorImpl implements Collector {private final EnvironmentDao agentDao;CollectorImpl(EnvironmentDao agentDao, AggregateDao aggregateRepository,TraceDao traceRepository, GaugeValueDao gaugeValueRepository) {this.agentDao = agentDao;