mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
Removes unused code
This commit is contained in:
parent
6b01ac19ed
commit
3d5b2fecf2
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue