From 70db92dee51ac9c37f924391ef812bffff2b099c Mon Sep 17 00:00:00 2001 From: FernandoAscencio Date: Tue, 9 May 2023 12:09:42 -0400 Subject: [PATCH] typo: `scm.ts` typo fixes small typo `SsmResourceGroupImpl` -> `ScmResourceGroupImpl` Signed-Off-By: FernandoAscencio --- packages/plugin-ext/src/plugin/scm.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/plugin-ext/src/plugin/scm.ts b/packages/plugin-ext/src/plugin/scm.ts index 0918979a7e4af..2e957ca15755f 100644 --- a/packages/plugin-ext/src/plugin/scm.ts +++ b/packages/plugin-ext/src/plugin/scm.ts @@ -369,7 +369,7 @@ export class ScmInputBoxImpl implements theia.SourceControlInputBox { } } -class SsmResourceGroupImpl implements theia.SourceControlResourceGroup { +class ScmResourceGroupImpl implements theia.SourceControlResourceGroup { private static handlePool: number = 0; private resourceHandlePool: number = 0; @@ -417,7 +417,7 @@ class SsmResourceGroupImpl implements theia.SourceControlResourceGroup { this.onDidUpdateResourceStatesEmitter.fire(); } - readonly handle = SsmResourceGroupImpl.handlePool++; + readonly handle = ScmResourceGroupImpl.handlePool++; constructor( private proxy: ScmMain, @@ -526,7 +526,7 @@ class SsmResourceGroupImpl implements theia.SourceControlResourceGroup { class SourceControlImpl implements theia.SourceControl { private static handlePool: number = 0; - private groups: Map = new Map(); + private groups: Map = new Map(); private plugin: Plugin; @@ -646,11 +646,11 @@ class SourceControlImpl implements theia.SourceControl { this.plugin = plugin; } - private createdResourceGroups = new Map(); - private updatedResourceGroups = new Set(); + private createdResourceGroups = new Map(); + private updatedResourceGroups = new Set(); - createResourceGroup(id: string, label: string): SsmResourceGroupImpl { - const group = new SsmResourceGroupImpl(this.proxy, this.commands, this.handle, this.plugin, id, label); + createResourceGroup(id: string, label: string): ScmResourceGroupImpl { + const group = new ScmResourceGroupImpl(this.proxy, this.commands, this.handle, this.plugin, id, label); const disposable = group.onDidDispose(() => this.createdResourceGroups.delete(group)); this.createdResourceGroups.set(group, disposable); this.eventuallyAddResourceGroups(); @@ -712,7 +712,7 @@ class SourceControlImpl implements theia.SourceControl { this.updatedResourceGroups.clear(); } - getResourceGroup(handle: GroupHandle): SsmResourceGroupImpl | undefined { + getResourceGroup(handle: GroupHandle): ScmResourceGroupImpl | undefined { return this.groups.get(handle); }