Skip to content

Commit

Permalink
fix: remove superflouous setter
Browse files Browse the repository at this point in the history
Why set a thing to the thing it gets?  Don't set the getter to the
setter that is already the getter
  • Loading branch information
trev-dev committed Oct 12, 2023
1 parent 72c5e50 commit 1a61c6e
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ public Pair<byte[], InstituteEvent> handleCreateSchoolEvent(Event event) throws
RequestUtil.setAuditColumnsForCreate(school);
Pair<SchoolEntity, InstituteEvent> schoolPair = getSchoolService().createSchool(school);
choreographyEvent = schoolPair.getRight();
event.setEventOutcome(event.getEventOutcome());
event.setEventPayload(JsonUtil.getJsonStringFromObject(schoolMapper.toStructure(schoolPair.getLeft())));
schoolEvent = createInstituteEventRecord(event);
} else {
Expand Down

0 comments on commit 1a61c6e

Please sign in to comment.