Skip to content

Commit

Permalink
fix(ws-fetcher): use lombok annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
NuttyShrimp committed Apr 15, 2024
1 parent cfb26f7 commit 1f52522
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/main/java/telraam/station/websocket/WebsocketFetcher.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package telraam.station.websocket;

import com.fasterxml.jackson.core.JsonProcessingException;
import lombok.AllArgsConstructor;
import org.jdbi.v3.core.Jdbi;
import com.fasterxml.jackson.databind.ObjectMapper;
import telraam.database.daos.BatonDAO;
Expand Down Expand Up @@ -157,11 +158,8 @@ public void fetch() {
}
}

private class InitWSMessage {
@AllArgsConstructor
private static class InitWSMessage {
public int lastId;

public InitWSMessage(int lastId) {
this.lastId = lastId;
}
}
}

0 comments on commit 1f52522

Please sign in to comment.