From 405f3edbe60f3c4191030dbd657636f7093d75ea Mon Sep 17 00:00:00 2001 From: freshgum Date: Tue, 10 Oct 2023 00:39:01 +0100 Subject: [PATCH] refactor(contrib/jtv): remove unnecessary file --- .../json-tree-visitor-inspector.class.mts | 38 ------------------- 1 file changed, 38 deletions(-) delete mode 100644 src/contrib/visitors/inspectors/json-inspector/json-tree-visitor-inspector.class.mts diff --git a/src/contrib/visitors/inspectors/json-inspector/json-tree-visitor-inspector.class.mts b/src/contrib/visitors/inspectors/json-inspector/json-tree-visitor-inspector.class.mts deleted file mode 100644 index de07a847..00000000 --- a/src/contrib/visitors/inspectors/json-inspector/json-tree-visitor-inspector.class.mts +++ /dev/null @@ -1,38 +0,0 @@ -import { - ContainerInstance, - ContainerTreeVisitor, - ServiceIdentifier, - ServiceMetadata, - VisitRetrievalOptions, -} from '../../../../index.mjs'; - -export class JSONTreeVisitorInspector implements ContainerTreeVisitor { - visitChildContainer?(child: ContainerInstance): void { - throw new Error('Method not implemented.'); - } - - visitOrphanedContainer?(container: ContainerInstance): void { - throw new Error('Method not implemented.'); - } - - visitNewService?(serviceOptions: ServiceMetadata): void { - throw new Error('Method not implemented.'); - } - - visitContainer?(container: ContainerInstance): boolean { - throw new Error('Method not implemented.'); - } - - visitRetrieval?(identifier: ServiceIdentifier, options: VisitRetrievalOptions): void { - throw new Error('Method not implemented.'); - } - - disposed = false; - dispose(): void | Promise { - if (this.disposed) { - throw new Error('The JSON tree visitor has already been disposed.'); - } - - this.disposed = true; - } -}