Procházet zdrojové kódy

Removes unneeded public keyword

main
Eric Amodio před 5 roky
rodič
revize
b44bdb0d26
4 změnil soubory, kde provedl 6 přidání a 6 odebrání
  1. +1
    -1
      src/codelens/codeLensProvider.ts
  2. +1
    -1
      src/quickpicks/repoStatusQuickPick.ts
  3. +1
    -1
      src/views/repositoriesView.ts
  4. +3
    -3
      src/views/viewBase.ts

+ 1
- 1
src/codelens/codeLensProvider.ts Zobrazit soubor

@ -80,7 +80,7 @@ export class GitAuthorsCodeLens extends CodeLens {
export class GitCodeLensProvider implements CodeLensProvider {
private _onDidChangeCodeLenses = new EventEmitter<void>();
public get onDidChangeCodeLenses(): Event<void> {
get onDidChangeCodeLenses(): Event<void> {
return this._onDidChangeCodeLenses.event;
}

+ 1
- 1
src/quickpicks/repoStatusQuickPick.ts Zobrazit soubor

@ -30,7 +30,7 @@ import {
} from './commonQuickPicks';
export class OpenStatusFileCommandQuickPickItem extends OpenFileCommandQuickPickItem {
public readonly status: GitStatusFile;
readonly status: GitStatusFile;
private readonly commit: GitLogCommit;
constructor(status: GitStatusFile, realIndexStatus?: GitFileStatus, item?: QuickPickItem) {

+ 1
- 1
src/views/repositoriesView.ts Zobrazit soubor

@ -12,7 +12,7 @@ export class RepositoriesView extends ViewBase {
}
private _onDidChangeAutoRefresh = new EventEmitter<void>();
public get onDidChangeAutoRefresh(): Event<void> {
get onDidChangeAutoRefresh(): Event<void> {
return this._onDidChangeAutoRefresh.event;
}

+ 3
- 3
src/views/viewBase.ts Zobrazit soubor

@ -35,17 +35,17 @@ export interface TreeViewNodeStateChangeEvent extends TreeViewExpansionEvent<
export abstract class ViewBase<TRoot extends ViewNode<View>> implements TreeDataProvider<ViewNode>, Disposable {
protected _onDidChangeTreeData = new EventEmitter<ViewNode>();
public get onDidChangeTreeData(): Event<ViewNode> {
get onDidChangeTreeData(): Event<ViewNode> {
return this._onDidChangeTreeData.event;
}
private _onDidChangeVisibility = new EventEmitter<TreeViewVisibilityChangeEvent>();
public get onDidChangeVisibility(): Event<TreeViewVisibilityChangeEvent> {
get onDidChangeVisibility(): Event<TreeViewVisibilityChangeEvent> {
return this._onDidChangeVisibility.event;
}
private _onDidChangeNodeState = new EventEmitter<TreeViewNodeStateChangeEvent<ViewNode>>();
public get onDidChangeNodeState(): Event<TreeViewNodeStateChangeEvent<ViewNode>> {
get onDidChangeNodeState(): Event<TreeViewNodeStateChangeEvent<ViewNode>> {
return this._onDidChangeNodeState.event;
}

Načítá se…
Zrušit
Uložit