From 13b4eba03d3d9e7e868dfeb41951735c58eedf32 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 20 Oct 2020 23:38:31 +0200 Subject: [PATCH] Add a FIXME comment. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/charging-station/ChargingStation.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/charging-station/ChargingStation.js b/src/charging-station/ChargingStation.js index 47186765..c6b3a5ae 100644 --- a/src/charging-station/ChargingStation.js +++ b/src/charging-station/ChargingStation.js @@ -92,6 +92,7 @@ class ChargingStation { this._initTransactionOnConnector(connector); } } + // FIXME: Conditionally initialize or use singleton design pattern per charging station this._statistics = new Statistics(this._stationInfo.name); this._performanceObserver = new PerformanceObserver((list) => { const entry = list.getEntries()[0]; -- 2.34.1