Skip to content

Commit

Permalink
typo: scm.ts typo
Browse files Browse the repository at this point in the history
fixes small typo `SsmResourceGroupImpl` -> `ScmResourceGroupImpl`

Signed-Off-By: FernandoAscencio <fernando.ascencio.cama@ericsson.com>
  • Loading branch information
FernandoAscencio committed May 9, 2023
1 parent 6acf477 commit 70db92d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/plugin-ext/src/plugin/scm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -417,7 +417,7 @@ class SsmResourceGroupImpl implements theia.SourceControlResourceGroup {
this.onDidUpdateResourceStatesEmitter.fire();
}

readonly handle = SsmResourceGroupImpl.handlePool++;
readonly handle = ScmResourceGroupImpl.handlePool++;

constructor(
private proxy: ScmMain,
Expand Down Expand Up @@ -526,7 +526,7 @@ class SsmResourceGroupImpl implements theia.SourceControlResourceGroup {
class SourceControlImpl implements theia.SourceControl {

private static handlePool: number = 0;
private groups: Map<GroupHandle, SsmResourceGroupImpl> = new Map<GroupHandle, SsmResourceGroupImpl>();
private groups: Map<GroupHandle, ScmResourceGroupImpl> = new Map<GroupHandle, ScmResourceGroupImpl>();

private plugin: Plugin;

Expand Down Expand Up @@ -646,11 +646,11 @@ class SourceControlImpl implements theia.SourceControl {
this.plugin = plugin;
}

private createdResourceGroups = new Map<SsmResourceGroupImpl, Disposable>();
private updatedResourceGroups = new Set<SsmResourceGroupImpl>();
private createdResourceGroups = new Map<ScmResourceGroupImpl, Disposable>();
private updatedResourceGroups = new Set<ScmResourceGroupImpl>();

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();
Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit 70db92d

Please sign in to comment.