Skip to content

Commit

Permalink
style: remove redundant casting of baseEventData
Browse files Browse the repository at this point in the history
  • Loading branch information
wzieba committed Oct 26, 2023
1 parent 654e374 commit 98dfeaa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ private void doEnqueue(long scheduledExecutionTime) {
@SuppressWarnings("unchecked")
Map<String, Object> baseEventData = (Map<String, Object>) event.get("data");
assert baseEventData != null;
Map<String, Object> data = new HashMap<>((Map<String, Object>) baseEventData);
Map<String, Object> data = new HashMap<>(baseEventData);
data.put("ts", now.getTimeInMillis());
event.put("data", data);

Expand Down

0 comments on commit 98dfeaa

Please sign in to comment.