docs: improve code comments
authorJérôme Benoit <jerome.benoit@sap.com>
Tue, 18 Jul 2023 18:57:18 +0000 (20:57 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Tue, 18 Jul 2023 18:57:18 +0000 (20:57 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/ocpp/OCPPConstants.ts

index f8a5fa35046804a83544e124460bffd54bfb2d2a..b9363012c4b850dbc7e18aac6bb8461797b447e5 100644 (file)
@@ -128,11 +128,11 @@ export class OCPPConstants {
 
   static readonly OCPP_RESERVATION_RESPONSE_UNAVAILABLE = Object.freeze({
     status: ReservationStatus.UNAVAILABLE,
-  }); // Reservation has not been made, because connectors are spec. connector is in UNAVAILABLE state
+  }); // Reservation has not been made, because connector is in UNAVAILABLE state
 
   static readonly OCPP_CANCEL_RESERVATION_RESPONSE_ACCEPTED = Object.freeze({
     status: GenericStatus.Accepted,
-  }); // Reservation for id has been cancelled has been made
+  }); // Reservation for id has been cancelled
 
   static readonly OCPP_CANCEL_RESERVATION_RESPONSE_REJECTED = Object.freeze({
     status: GenericStatus.Rejected,