From 3c3a5d2f504986e88ecd94d6d7e5d2723713c4a1 Mon Sep 17 00:00:00 2001 From: itdominator <1itdominator@gmail.com> Date: Sat, 23 Aug 2025 14:20:37 -0500 Subject: [PATCH] Removed empty constructors --- src/app/common/services/editor/info-bar/info-bar.service.ts | 3 --- .../common/services/editor/lsp-manager/lsp-manager.service.ts | 4 ---- .../editor/markdown-preview/markdown-preview.service.ts | 4 ---- src/app/common/services/editor/modals/files-modal.service.ts | 4 ---- .../services/editor/search-replace/search-replace.service.ts | 4 ---- src/app/common/services/editor/tabs/tabs.service.ts | 2 -- 6 files changed, 21 deletions(-) diff --git a/src/app/common/services/editor/info-bar/info-bar.service.ts b/src/app/common/services/editor/info-bar/info-bar.service.ts index 26552d7..98f21a8 100644 --- a/src/app/common/services/editor/info-bar/info-bar.service.ts +++ b/src/app/common/services/editor/info-bar/info-bar.service.ts @@ -15,9 +15,6 @@ export class InfoBarService { private ftypeSubject: ReplaySubject = new ReplaySubject(1); - constructor() {} - - public setData(data: ServiceMessage): void { this.dataSubject.next(data); } diff --git a/src/app/common/services/editor/lsp-manager/lsp-manager.service.ts b/src/app/common/services/editor/lsp-manager/lsp-manager.service.ts index 4c2fd60..0331ac5 100644 --- a/src/app/common/services/editor/lsp-manager/lsp-manager.service.ts +++ b/src/app/common/services/editor/lsp-manager/lsp-manager.service.ts @@ -25,10 +25,6 @@ export class LspManagerService { languageProviders: {} = {}; - constructor() { - } - - public loadLspConfigData(): Promise { return this.getLspConfigData().then((lspConfigData: string) => { this.lspConfigDataStr = lspConfigData; diff --git a/src/app/common/services/editor/markdown-preview/markdown-preview.service.ts b/src/app/common/services/editor/markdown-preview/markdown-preview.service.ts index d7944e4..f812912 100644 --- a/src/app/common/services/editor/markdown-preview/markdown-preview.service.ts +++ b/src/app/common/services/editor/markdown-preview/markdown-preview.service.ts @@ -12,10 +12,6 @@ export class MarkdownPreviewService { private messageSubject: ReplaySubject = new ReplaySubject(1); - constructor() { - } - - public sendMessage(data: ServiceMessage): void { this.messageSubject.next(data); } diff --git a/src/app/common/services/editor/modals/files-modal.service.ts b/src/app/common/services/editor/modals/files-modal.service.ts index 3fc1e19..50994b7 100644 --- a/src/app/common/services/editor/modals/files-modal.service.ts +++ b/src/app/common/services/editor/modals/files-modal.service.ts @@ -11,10 +11,6 @@ export class FilesModalService { private addFileSubject: ReplaySubject = new ReplaySubject(1); - constructor() { - } - - public showFilesModal(): void { this.showFilesModalSubject.next(null); } diff --git a/src/app/common/services/editor/search-replace/search-replace.service.ts b/src/app/common/services/editor/search-replace/search-replace.service.ts index 21c0bab..94e6f0b 100644 --- a/src/app/common/services/editor/search-replace/search-replace.service.ts +++ b/src/app/common/services/editor/search-replace/search-replace.service.ts @@ -12,10 +12,6 @@ export class SearchReplaceService { private messageSubject: ReplaySubject = new ReplaySubject(1); - constructor() { - } - - public sendMessage(data: ServiceMessage): void { this.messageSubject.next(data); } diff --git a/src/app/common/services/editor/tabs/tabs.service.ts b/src/app/common/services/editor/tabs/tabs.service.ts index eedd53e..145bd48 100644 --- a/src/app/common/services/editor/tabs/tabs.service.ts +++ b/src/app/common/services/editor/tabs/tabs.service.ts @@ -18,8 +18,6 @@ export class TabsService { tabs: any[] = []; newIndex: number = -1; - constructor() {} - public push(tabData: {}): void { this.tabs.push(tabData);