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

Andy Seaborne commented on JENA-2246:
-------------------------------------

No.

{{DatasetImpl}} does it with {{getDefaultModel().removeAll().add(model)}}

No need for {{DatasetGraph`}}s to have a special `set` for this one case.  Some 
DSG don't implement it, and have never implemented it.

Retain the `Dataset` API.



> Deprecate DatasetGraph.setDefaulGraph
> -------------------------------------
>
>                 Key: JENA-2246
>                 URL: https://issues.apache.org/jira/browse/JENA-2246
>             Project: Apache Jena
>          Issue Type: Improvement
>    Affects Versions: Jena 4.3.2
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>            Priority: Minor
>             Fix For: Jena 4.4.0
>
>
> Unnecessary operation. Legacy from when the default graph could be null then 
> set after the constructor.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to