[
https://issues.apache.org/jira/browse/JENA-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16153379#comment-16153379
]
Andy Seaborne commented on JENA-1389:
-------------------------------------
Given this is a source-not-binary compatible change.
The next version is 3.4.0->3.5.0.
For me, it is reasonable to say that there is a binary incompatibility here and
users should recompile. I'm sure someone, somewhere, won't but we have to have
some degrees of freedom and 3.x.y -> 4.0.0 is far too major a signal.
So I'm still +1.
> 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
> 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
(v6.4.14#64029)