[ 
https://issues.apache.org/jira/browse/JENA-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16365784#comment-16365784
 ] 

ASF GitHub Bot commented on JENA-1389:
--------------------------------------

GitHub user ajs6f opened a pull request:

    https://github.com/apache/jena/pull/362

    JENA-1389: Return 'this' rather than 'void' from Dataset

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ajs6f/jena JENA-1389

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/jena/pull/362.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #362
    
----
commit d21aba27b73d3340e595f22b2ae58f7019b455aa
Author: ajs6f <ajs6f@...>
Date:   2018-02-15T15:47:37Z

    JENA-1389: Return 'this' rather than 'void' from Dataset

----


> 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
>
> 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)

Reply via email to