From 89862489b1e5892eb2d0b6aec1d7bfcec9b07a6b Mon Sep 17 00:00:00 2001 From: Sandeep Somavarapu Date: Tue, 9 Nov 2021 08:45:23 +0100 Subject: [PATCH] clean up --- .../browser/extensionResourceLoaderService.ts | 2 +- .../common/extensionResourceLoader.ts | 12 ++++++------ .../extensionResourceLoaderService.ts | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/vs/workbench/services/extensionResourceLoader/browser/extensionResourceLoaderService.ts b/src/vs/workbench/services/extensionResourceLoader/browser/extensionResourceLoaderService.ts index 8f68d8a7ab2..85b431f430e 100644 --- a/src/vs/workbench/services/extensionResourceLoader/browser/extensionResourceLoaderService.ts +++ b/src/vs/workbench/services/extensionResourceLoader/browser/extensionResourceLoaderService.ts @@ -24,7 +24,7 @@ class ExtensionResourceLoaderService extends AbstractExtensionResourceLoaderServ @IProductService productService: IProductService, @IEnvironmentService environmentService: IEnvironmentService, @IConfigurationService configurationService: IConfigurationService, - @ILogService readonly _logService: ILogService, + @ILogService private readonly _logService: ILogService, ) { super(fileService, storageService, productService, environmentService, configurationService); } diff --git a/src/vs/workbench/services/extensionResourceLoader/common/extensionResourceLoader.ts b/src/vs/workbench/services/extensionResourceLoader/common/extensionResourceLoader.ts index dad5b25ece3..e8f41ff6e41 100644 --- a/src/vs/workbench/services/extensionResourceLoader/common/extensionResourceLoader.ts +++ b/src/vs/workbench/services/extensionResourceLoader/common/extensionResourceLoader.ts @@ -33,7 +33,7 @@ export interface IExtensionResourceLoaderService { /** * Returns whether the gallery provides extension resources. */ - supportsExtensionGalleryResources: boolean; + readonly supportsExtensionGalleryResources: boolean; /** * Computes the URL of a extension gallery resource. Returns `undefined` if gallery does not provide extension resources. @@ -50,11 +50,11 @@ export abstract class AbstractExtensionResourceLoaderService implements IExtensi private readonly _extensionGalleryAuthority: string | undefined; constructor( - readonly _fileService: IFileService, - readonly _storageService: IStorageService, - readonly _productService: IProductService, - readonly _environmentService: IEnvironmentService, - readonly _configurationService: IConfigurationService, + protected readonly _fileService: IFileService, + private readonly _storageService: IStorageService, + private readonly _productService: IProductService, + private readonly _environmentService: IEnvironmentService, + private readonly _configurationService: IConfigurationService, ) { if (_productService.extensionsGallery) { this._extensionGalleryResourceUrlTemplate = _productService.extensionsGallery.resourceUrlTemplate; diff --git a/src/vs/workbench/services/extensionResourceLoader/electron-sandbox/extensionResourceLoaderService.ts b/src/vs/workbench/services/extensionResourceLoader/electron-sandbox/extensionResourceLoaderService.ts index 4062092b43b..471f36a8d0a 100644 --- a/src/vs/workbench/services/extensionResourceLoader/electron-sandbox/extensionResourceLoaderService.ts +++ b/src/vs/workbench/services/extensionResourceLoader/electron-sandbox/extensionResourceLoaderService.ts @@ -22,7 +22,7 @@ export class ExtensionResourceLoaderService extends AbstractExtensionResourceLoa @IProductService productService: IProductService, @IEnvironmentService environmentService: IEnvironmentService, @IConfigurationService configurationService: IConfigurationService, - @IRequestService readonly _requestService: IRequestService, + @IRequestService private readonly _requestService: IRequestService, ) { super(fileService, storageService, productService, environmentService, configurationService); }