From 4c8782eeb15a7c41b4ef5a413768abd47615047a Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 27 May 2023 20:43:44 +0200 Subject: [PATCH] refactor: cleanup imports MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/charging-station/IdTagsCache.ts | 8 ++++---- .../ocpp/1.6/OCPP16IncomingRequestService.ts | 1 - src/charging-station/ocpp/OCPPServiceUtils.ts | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/charging-station/IdTagsCache.ts b/src/charging-station/IdTagsCache.ts index ff5c49d9..fd35fa8b 100644 --- a/src/charging-station/IdTagsCache.ts +++ b/src/charging-station/IdTagsCache.ts @@ -31,9 +31,9 @@ export class IdTagsCache { * Get one idtag from the cache given the distribution * Must be called after checking the cache is not an empty array * - * @param distribution - * @param chargingStation - * @param connectorId + * @param distribution - + * @param chargingStation - + * @param connectorId - * @returns */ public getIdTag( @@ -59,7 +59,7 @@ export class IdTagsCache { * Get all idtags from the cache * Must be called after checking the cache is not an empty array * - * @param file + * @param file - * @returns */ public getIdTags(file: string): string[] | undefined { diff --git a/src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts b/src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts index f39e8cfa..f01034a3 100644 --- a/src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts +++ b/src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts @@ -48,7 +48,6 @@ import { type OCPP16ClearCacheRequest, type OCPP16DataTransferRequest, type OCPP16DataTransferResponse, - OCPP16DataTransferStatus, OCPP16DataTransferVendorId, OCPP16DiagnosticsStatus, type OCPP16DiagnosticsStatusNotificationRequest, diff --git a/src/charging-station/ocpp/OCPPServiceUtils.ts b/src/charging-station/ocpp/OCPPServiceUtils.ts index c5387f33..01ca8511 100644 --- a/src/charging-station/ocpp/OCPPServiceUtils.ts +++ b/src/charging-station/ocpp/OCPPServiceUtils.ts @@ -30,7 +30,7 @@ import { type StatusNotificationRequest, type StatusNotificationResponse, } from '../../types'; -import { Constants, ErrorUtils, Utils, logger } from '../../utils'; +import { ErrorUtils, Utils, logger } from '../../utils'; export class OCPPServiceUtils { protected constructor() { -- 2.34.1