Cleanup the code integrated in
@@ -172,11 +172,18 @@ public class ListView extends View implements DirectlyModifiableView {
}
+ /**
+ * Returns a read-only view of all {@link Job}s in this view.
+ *
+ * <p>
+ * This method returns a separate copy each time to avoid
+ * concurrent modification issue.
+ */
+ @Override
public List<TopLevelItem> getItems() {
return getItems(this.recurse);
}
-
/**
* Returns a read-only view of all {@link Job}s in this view.
*
