From 9d776df90913c64075ad7574a491ef53eb92ac05 Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Tue, 2 Jan 2018 16:04:27 -0800 Subject: [PATCH] Mark a few fields in ExtensionMemento as readonly --- src/vs/workbench/api/node/extHostExtensionService.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/vs/workbench/api/node/extHostExtensionService.ts b/src/vs/workbench/api/node/extHostExtensionService.ts index 16f72f8a27a..0767c62d320 100644 --- a/src/vs/workbench/api/node/extHostExtensionService.ts +++ b/src/vs/workbench/api/node/extHostExtensionService.ts @@ -25,11 +25,11 @@ import { ExtHostLogService } from 'vs/workbench/api/node/extHostLogService'; class ExtensionMemento implements IExtensionMemento { - private _id: string; - private _shared: boolean; - private _storage: ExtHostStorage; + private readonly _id: string; + private readonly _shared: boolean; + private readonly _storage: ExtHostStorage; - private _init: TPromise; + private readonly _init: TPromise; private _value: { [n: string]: any; }; constructor(id: string, global: boolean, storage: ExtHostStorage) { -- GitLab