Skip to content

Commit 3889970

Browse files
committed
Remove unused variables.
1 parent 25780c6 commit 3889970

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

src/vs/workbench/services/keybinding/browser/keymapService.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ export class BrowserKeyboardMapperFactoryBase {
7171
}
7272

7373
protected constructor(
74-
private _notificationService: INotificationService,
75-
private _storageService: IStorageService,
76-
private _commandService: ICommandService
74+
// private _notificationService: INotificationService,
75+
// private _storageService: IStorageService,
76+
// private _commandService: ICommandService
7777
) {
7878
this._keyboardMapper = null;
7979
this._initialized = false;
@@ -428,7 +428,8 @@ export class BrowserKeyboardMapperFactoryBase {
428428

429429
export class BrowserKeyboardMapperFactory extends BrowserKeyboardMapperFactoryBase {
430430
constructor(notificationService: INotificationService, storageService: IStorageService, commandService: ICommandService) {
431-
super(notificationService, storageService, commandService);
431+
// super(notificationService, storageService, commandService);
432+
super();
432433

433434
const platform = isWindows ? 'win' : isMacintosh ? 'darwin' : 'linux';
434435

src/vs/workbench/services/keybinding/test/browserKeyboardMapper.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ import { TestNotificationService } from 'vs/platform/notification/test/common/te
1717

1818
class TestKeyboardMapperFactory extends BrowserKeyboardMapperFactoryBase {
1919
constructor(notificationService: INotificationService, storageService: IStorageService, commandService: ICommandService) {
20-
super(notificationService, storageService, commandService);
20+
// super(notificationService, storageService, commandService);
21+
super();
2122

2223
const keymapInfos: IKeymapInfo[] = KeyboardLayoutContribution.INSTANCE.layoutInfos;
2324
this._keymapInfos.push(...keymapInfos.map(info => (new KeymapInfo(info.layout, info.secondaryLayouts, info.mapping, info.isUserKeyboardLayout))));
@@ -146,4 +147,4 @@ suite('keyboard layout loader', () => {
146147
instance.setUSKeyboardLayout();
147148
assert.equal(instance.activeKeyboardLayout!.isUSStandard, true);
148149
});
149-
});
150+
});

0 commit comments

Comments
 (0)