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

ASF subversion and git services commented on JENA-544:
------------------------------------------------------

Commit 1536154 from [~claudenw] in branch 'jena/trunk'
[ https://svn.apache.org/r1536154 ]

Fix for JENA-544
added inModel() to getBag()

> Bag created from a resource in another model results in a Bag in the wrong 
> model
> --------------------------------------------------------------------------------
>
>                 Key: JENA-544
>                 URL: https://issues.apache.org/jira/browse/JENA-544
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Jena
>    Affects Versions: Jena 2.11.0
>            Reporter: Claude Warren
>            Assignee: Claude Warren
>         Attachments: BagTest.java
>
>
> Create model 1.
> Create a resource in model 1
> Create model 2
> call Bag s = model2.getBag( resource )
> s.getModel() == model1 is true
> s.getModel() == model2 is false
> s.getModel() should return model2



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to