refactor: remove unneeded blank lines
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 23 Aug 2024 19:31:23 +0000 (21:31 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 23 Aug 2024 19:31:23 +0000 (21:31 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/charging-station/AutomaticTransactionGenerator.ts
src/charging-station/ChargingStation.ts
src/charging-station/ocpp/1.6/OCPP16ResponseService.ts
src/charging-station/ocpp/2.0/OCPP20ResponseService.ts
src/charging-station/ocpp/OCPPResponseService.ts
src/charging-station/ui-server/AbstractUIServer.ts
src/charging-station/ui-server/ui-services/AbstractUIService.ts
src/utils/Configuration.ts
src/worker/WorkerSet.ts

index 9b3bcaaf7f4ec79dd3c7e20038cbe59680fa6d00..ece8e243b89c4312f4788b516e39549ca233bc3d 100644 (file)
@@ -51,7 +51,6 @@ export class AutomaticTransactionGenerator {
   private starting: boolean
   private stopping: boolean
   public readonly connectorsStatus: Map<number, Status>
-
   public started: boolean
 
   private constructor (chargingStation: ChargingStation) {
index 87dfc50978e79d188ce49044ad69613f19c7e6b7..1be626d953b0bc6b4848d7c9d442b421e356bc94 100644 (file)
@@ -208,7 +208,6 @@ export class ChargingStation extends EventEmitter {
   public starting: boolean
   public stationInfo?: ChargingStationInfo
   public readonly templateFile: string
-
   public wsConnection: null | WebSocket
 
   constructor (index: number, templateFile: string, options?: ChargingStationOptions) {
index 0e73811661715c4fb85155422ce8e150626b8a41..06fc0cd4096bcc97064d5bd5ce48513c9930741b 100644 (file)
@@ -60,7 +60,6 @@ const moduleName = 'OCPP16ResponseService'
 
 export class OCPP16ResponseService extends OCPPResponseService {
   protected payloadValidateFunctions: Map<OCPP16RequestCommand, ValidateFunction<JsonType>>
-
   private readonly responseHandlers: Map<OCPP16RequestCommand, ResponseHandler>
   public incomingRequestResponsePayloadValidateFunctions: Map<
     OCPP16IncomingRequestCommand,
index dd16d9983983638b42f8219502fd92dc9fbbf0d3..a3735d834a5742781445abc32782dc8b56cf7bbe 100644 (file)
@@ -27,7 +27,6 @@ const moduleName = 'OCPP20ResponseService'
 
 export class OCPP20ResponseService extends OCPPResponseService {
   protected payloadValidateFunctions: Map<OCPP20RequestCommand, ValidateFunction<JsonType>>
-
   private readonly responseHandlers: Map<OCPP20RequestCommand, ResponseHandler>
   public incomingRequestResponsePayloadValidateFunctions: Map<
     OCPP20IncomingRequestCommand,
index 16bf140dc9237ff4c7190ecdfc54fa90083550b2..0eaf22f8a50897d84ddfeaa7d0130f5526477c47 100644 (file)
@@ -26,7 +26,6 @@ export abstract class OCPPResponseService {
   protected emptyResponseHandler = Constants.EMPTY_FUNCTION
   protected abstract payloadValidateFunctions: Map<RequestCommand, ValidateFunction<JsonType>>
   private readonly version: OCPPVersion
-
   public abstract incomingRequestResponsePayloadValidateFunctions: Map<
     IncomingRequestCommand,
     ValidateFunction<JsonType>
index e9696c95956bedb7546741764880428f68b93d0f..a639883db09b9a50f28c141c2070ae51badfd808 100644 (file)
@@ -34,7 +34,6 @@ export abstract class AbstractUIServer {
 
   protected readonly uiServices: Map<ProtocolVersion, AbstractUIService>
   public readonly chargingStations: Map<string, ChargingStationData>
-
   public readonly chargingStationTemplates: Set<string>
 
   public constructor (protected readonly uiServerConfiguration: UIServerConfiguration) {
index 3c3d51cbca5d47b05881981202ceb60ecd24ccaf..78ca06506d84c3e1a4a927aef97216573920c05a 100644 (file)
@@ -117,16 +117,6 @@ export abstract class AbstractUIService {
     )
   }
 
-  // public sendRequest (
-  //   uuid: `${string}-${string}-${string}-${string}-${string}`,
-  //   procedureName: ProcedureName,
-  //   requestPayload: RequestPayload
-  // ): void {
-  //   this.uiServer.sendRequest(
-  //     this.uiServer.buildProtocolRequest(uuid, procedureName, requestPayload)
-  //   )
-  // }
-
   private async handleAddChargingStations (
     _uuid?: `${string}-${string}-${string}-${string}-${string}`,
     _procedureName?: ProcedureName,
@@ -369,6 +359,16 @@ export abstract class AbstractUIService {
     }
   }
 
+  // public sendRequest (
+  //   uuid: `${string}-${string}-${string}-${string}-${string}`,
+  //   procedureName: ProcedureName,
+  //   requestPayload: RequestPayload
+  // ): void {
+  //   this.uiServer.sendRequest(
+  //     this.uiServer.buildProtocolRequest(uuid, procedureName, requestPayload)
+  //   )
+  // }
+
   public sendResponse (
     uuid: `${string}-${string}-${string}-${string}-${string}`,
     responsePayload: ResponsePayload
index 9ca0b9135bed82312bb5997f8586e32dd04c1180..e55fa0b67730fdbce2d28c76c0574b910f1f9a23 100644 (file)
@@ -80,7 +80,6 @@ const defaultWorkerConfiguration: WorkerConfiguration = {
 // eslint-disable-next-line @typescript-eslint/no-extraneous-class
 export class Configuration {
   public static configurationChangeCallback?: () => Promise<void>
-
   private static configurationData?: ConfigurationData
   private static configurationFile: string | undefined
   private static configurationFileReloading = false
index c1369e12cda3ee728d63cd5739a4f72d2bc87cfc..2cec2d5f61ed826abd7162c7cf9b1c9a5a065d2f 100644 (file)
@@ -31,7 +31,6 @@ export class WorkerSet<D extends WorkerData, R extends WorkerData> extends Worke
 
   private started: boolean
   private readonly workerSet: Set<WorkerSetElement>
-
   private workerStartup: boolean
   public readonly emitter: EventEmitterAsyncResource | undefined