Skip to content

Funky javadoc  #77

@ajs6f

Description

@ajs6f

org.trellisldp.api.ResourceService.getMementos(IRI) currently has Javadoc:

    /**
     * Retrieve a list of Mementos for this resource.
     *
     * @param identifier the resource identifier
     * @return a stream of known Mementos
     */
    List<Range<Instant>> getMementos(IRI identifier);

which I think dates to before the introduction of ranges for Mementos. I'd send a PR to correct it, but I'm honestly not sure what the semantics of the return value are. Is it a List of Ranges of Instants for which any Instant that is within a given Range has a Memento associated to that Range?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions