The Document
object implements MediaContent
, which includes media as Collection<Media>
. Is there a specific reason for that to be a collection instead of a List<Media>
?
There is some inconsistency in Document
at the moment, because it works with List<Media>
if you use the Builder
or with Collection<Media>
if you use the constructor. It would be safer to consolidate the type and make it consistent no matter how the object is built.
Comment From: markpollack
It has been changed to List in dfbc394f8311b4c919079a734280aa56f6e1b7d0