RM-7054 code review changes

This commit is contained in:
Roxana Lucanu
2019-11-12 10:36:42 +02:00
parent 65f30701d1
commit 1278258a74

View File

@@ -797,7 +797,7 @@ public class HoldServiceImpl extends ServiceBaseImpl
if (!holds.isEmpty()) if (!holds.isEmpty())
{ {
List<NodeRef> removedHolds = new ArrayList<NodeRef>(); List<NodeRef> removedHolds = new ArrayList<>();
for (final NodeRef hold : holds) for (final NodeRef hold : holds)
{ {
if (!isHold(hold)) if (!isHold(hold))