You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2018/02/16 12:48:00 UTC

[jira] [Resolved] (JENA-1389) Return `this` rather than `void` from Dataset

     [ https://issues.apache.org/jira/browse/JENA-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Seaborne resolved JENA-1389.
---------------------------------
       Resolution: Fixed
    Fix Version/s: Jena 3.7.0

> Return `this` rather than `void` from Dataset
> ---------------------------------------------
>
>                 Key: JENA-1389
>                 URL: https://issues.apache.org/jira/browse/JENA-1389
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: ARQ
>    Affects Versions: Jena 3.4.0
>            Reporter: Adam Jacobs
>            Assignee: A. Soroka
>            Priority: Trivial
>              Labels: easytask
>             Fix For: Jena 3.7.0
>
>
> Allow method chaining from the org.apache.jena.query.Dataset interface by returning `this` rather than `void` from the following methods.
> # setDefaultModel
> # addNamedModel
> # removeNamedModel
> # replaceNamedModel
> Allowing method chaining would align with the behavior of the add and remove methods in org.apache.jena.rdf.model.Model.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)