Skip to content

Commit

Permalink
Remove unused injections of ResourceProvider
Browse files Browse the repository at this point in the history
Signed-off-by: Amiram Wingarten <[email protected]>
  • Loading branch information
amiramw committed Apr 17, 2020
1 parent 2c244ad commit 668fa60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
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

0 comments on commit 668fa60

Please sign in to comment.