Skip to content

Commit

Permalink
Checkstyle Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Sn0w3y authored Dec 16, 2024
1 parent f69107b commit 5d3f2d5
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ public class MyJsonServer {
/**
* The JSON OCPP server.
*
* <p>
* Responsible for sending and receiving OCPP JSON commands.
*
* <p>Responsible for sending and receiving OCPP JSON commands.
*/
private final JSONServer server;

Expand Down Expand Up @@ -277,8 +277,7 @@ private void scheduleRetry(UUID sessionIndex, SessionInformation information, St
delay += randomJitter;

// Update total retry time
long totalTime = MyJsonServer.this.totalRetryTime.get(ocppIdentifier) + delay / 1000; // Convert milliseconds to
// seconds
long totalTime = MyJsonServer.this.totalRetryTime.get(ocppIdentifier) + delay / 1000; // Convert milliseconds
MyJsonServer.this.totalRetryTime.put(ocppIdentifier, totalTime);

// Optional: Check if total retry time exceeds maximum allowed
Expand Down

0 comments on commit 5d3f2d5

Please sign in to comment.