Skip to content

Commit

Permalink
make HashMap final
Browse files Browse the repository at this point in the history
  • Loading branch information
apoorva918 committed Feb 6, 2024
1 parent 3e1af42 commit a354698
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public class ParquetEventGenerator implements EventGenerator {
private final int maxRecordsPerEvent;
private final ObjectNode eventTemplate;
private final ObjectMapper mapper;
private Map<MessageType, Schema> parquetSchemas = new HashMap<>();
private final Map<MessageType, Schema> parquetSchemas = new HashMap<>();

public ParquetEventGenerator(String routingKey, int maxRecordsPerEvent, ObjectNode eventTemplate, ObjectMapper mapper) {
this.routingKey = Preconditions.checkNotNull(routingKey, "routingKey");
Expand Down

0 comments on commit a354698

Please sign in to comment.