Skip to content

Commit

Permalink
CIRC-2036 fix code smell issue
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-barannyk committed Mar 7, 2024
1 parent 52fa4f8 commit 2d29831
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public static JsonObject createCheckInContext(CheckInContext context) {
JsonObject staffSlipContext = createStaffSlipContext(item, firstRequest);
JsonObject itemContext = staffSlipContext.getJsonObject(ITEM);

if (ObjectUtils.allNotNull(item, itemContext)) {
if (item != null && itemContext != null) {
write(itemContext, "lastCheckedInDateTime", ClockUtil.getZonedDateTime());
if (item.getInTransitDestinationServicePoint() != null) {
itemContext.put("toServicePoint", item.getInTransitDestinationServicePoint().getName());
Expand Down

0 comments on commit 2d29831

Please sign in to comment.