Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
maggarwal13 committed Dec 3, 2024
1 parent 210c11e commit 9a6d437
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

import javax.annotation.Nonnull;
import javax.annotation.concurrent.ThreadSafe;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
Expand Down Expand Up @@ -144,7 +145,7 @@ private List<RpslObject> getMaintainers(final RpslObject rpslObject) {
maintainers.remove(rpslObject.getKey());

if (maintainers.isEmpty()) {
return Collections.emptyList();
return new ArrayList<>();
}

return rpslObjectDao.getByKeys(ObjectType.MNTNER, maintainers);
Expand Down

0 comments on commit 9a6d437

Please sign in to comment.