diff --git a/src/main/java/org/openlmis/stockmanagement/repository/custom/impl/ValidReasonAssignmentRepositoryImpl.java b/src/main/java/org/openlmis/stockmanagement/repository/custom/impl/ValidReasonAssignmentRepositoryImpl.java index 5a0c747c..e765aeca 100644 --- a/src/main/java/org/openlmis/stockmanagement/repository/custom/impl/ValidReasonAssignmentRepositoryImpl.java +++ b/src/main/java/org/openlmis/stockmanagement/repository/custom/impl/ValidReasonAssignmentRepositoryImpl.java @@ -69,14 +69,14 @@ public List search(Collection programIds, UUID faci } if (null != reasonId) { - Join stockReason = - root.join(REASON, JoinType.LEFT); + Join stockReason = root.join( + REASON, JoinType.LEFT); predicate = builder.and(predicate, builder.equal(stockReason.get(ID), reasonId)); } if (null != reasonTypes) { - Join stockReason = - root.join(REASON, JoinType.LEFT); + Join stockReason = root.join( + REASON, JoinType.LEFT); predicate = builder.and(predicate, stockReason.get(REASON_TYPE).in(reasonTypes)); }