Removes unused code

This commit is contained in:
Eric Amodio 2020-08-18 01:30:56 -04:00
parent 6b01ac19ed
commit 3d5b2fecf2

View file

@ -27,7 +27,6 @@ export class TimelineService implements ITimelineService {
private readonly _onDidChangeUri = new Emitter<URI>();
readonly onDidChangeUri: Event<URI> = this._onDidChangeUri.event;
private excludedSources: Set<string>;
private readonly hasProviderContext: IContextKey<boolean>;
private readonly providers = new Map<string, TimelineProvider>();
private readonly providerSubscriptions = new Map<string, IDisposable>();
@ -39,16 +38,6 @@ export class TimelineService implements ITimelineService {
@IContextKeyService protected contextKeyService: IContextKeyService,
) {
this.hasProviderContext = TimelineHasProviderContext.bindTo(this.contextKeyService);
this.excludedSources = new Set(configurationService.getValue('timeline.excludeSources'));
configurationService.onDidChangeConfiguration(e => {
if (e.affectsConfiguration('timeline.excludeSources')) {
this.excludedSources = new Set(this.configurationService.getValue('timeline.excludeSources'));
this.updateHasProviderContext();
}
}, this);
this.updateHasProviderContext();
// let source = 'fast-source';