Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused injections of ResourceProvider #7595

Merged
merged 1 commit into from
Apr 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
********************************************************************************/

import { Command, CommandContribution, CommandRegistry, ResourceProvider } from '@theia/core';
import { Command, CommandContribution, CommandRegistry } from '@theia/core';
import {
ApplicationShell,
CommonCommands,
Expand Down Expand Up @@ -76,8 +76,6 @@ export class PluginVscodeCommandsContribution implements CommandContribution {
protected readonly editorManager: EditorManager;
@inject(ApplicationShell)
protected readonly shell: ApplicationShell;
@inject(ResourceProvider)
protected readonly resources: ResourceProvider;
@inject(DiffService)
protected readonly diffService: DiffService;
@inject(OpenerService)
Expand Down
5 changes: 1 addition & 4 deletions packages/task/src/browser/task-configurations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { ProvidedTaskConfigurations } from './provided-task-configurations';
import { TaskConfigurationManager } from './task-configuration-manager';
import { TaskSchemaUpdater } from './task-schema-updater';
import { TaskSourceResolver } from './task-source-resolver';
import { Disposable, DisposableCollection, ResourceProvider } from '@theia/core/lib/common';
import { Disposable, DisposableCollection } from '@theia/core/lib/common';
import URI from '@theia/core/lib/common/uri';
import { FileChange, FileChangeType } from '@theia/filesystem/lib/common/filesystem-watcher-protocol';
import { WorkspaceService } from '@theia/workspace/lib/browser';
Expand Down Expand Up @@ -70,9 +70,6 @@ export class TaskConfigurations implements Disposable {
@inject(WorkspaceService)
protected readonly workspaceService: WorkspaceService;

@inject(ResourceProvider)
protected readonly resourceProvider: ResourceProvider;

@inject(OpenerService)
protected readonly openerService: OpenerService;

Expand Down