Skip to content

Commit

Permalink
fix: remove obsolete workaround code
Browse files Browse the repository at this point in the history
  • Loading branch information
Akos Kitta committed Aug 17, 2023
1 parent 4a393ba commit 530cddb
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ import {
MonacoEditorFactory,
MonacoEditorProvider as TheiaMonacoEditorProvider,
} from '@theia/monaco/lib/browser/monaco-editor-provider';
import { StorageWrapper } from './storage-wrapper';
import { NotificationManager } from './theia/messages/notifications-manager';
import { NotificationManager as TheiaNotificationManager } from '@theia/messages/lib/browser/notifications-manager';
import { NotificationsRenderer as TheiaNotificationsRenderer } from '@theia/messages/lib/browser/notifications-renderer';
Expand Down Expand Up @@ -879,9 +878,6 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
),
});

bind(StorageWrapper).toSelf().inSingletonScope();
bind(CommandContribution).toService(StorageWrapper);

bind(NotificationManager).toSelf().inSingletonScope();
rebind(TheiaNotificationManager).toService(NotificationManager);
bind(NotificationsRenderer).toSelf().inSingletonScope();
Expand Down
37 changes: 0 additions & 37 deletions arduino-ide-extension/src/browser/storage-wrapper.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {
StorageService,
} from '@theia/core/lib/browser/storage-service';
import { WindowService } from '@theia/core/lib/browser/window/window-service';
import { CommandContribution } from '@theia/core/lib/common/command';
import {
Disposable,
DisposableCollection,
Expand All @@ -22,7 +21,6 @@ import { expect } from 'chai';
import { BoardsDataStore } from '../../browser/boards/boards-data-store';
import { BoardsServiceProvider } from '../../browser/boards/boards-service-provider';
import { NotificationCenter } from '../../browser/notification-center';
import { StorageWrapper } from '../../browser/storage-wrapper';
import {
BoardIdentifierChangeEvent,
BoardsConfig,
Expand Down Expand Up @@ -415,7 +413,6 @@ describe('board-service-provider', () => {
bind(LocalStorageService).toSelf().inSingletonScope();
bind(WindowService).toConstantValue(<WindowService>{});
bind(StorageService).toService(LocalStorageService);
bind(CommandContribution).toService(StorageWrapper);
bind(BoardsServiceProvider).toSelf().inSingletonScope();
// IDE2's test console logger does not support `Loggable` arg.
// Rebind logger to suppress `[Function (anonymous)]` messages in tests when the storage service is initialized without `window.localStorage`.
Expand Down

0 comments on commit 530cddb

Please sign in to comment.