Re: graph remove( node, node, node) side effects?

2013-10-07 Thread Claude Warren
On Mon, Oct 7, 2013 at 10:11 PM, Andy Seaborne wrote: > On 07/10/13 09:10, Claude Warren wrote: > >> When calling graph.remove( A , B, C ) >> should the graphListener be informed of delete( Triple ) as well >> as the graph event ( remove A B C )? I am assuming that the answer is yes >> always. >

Re: graph remove( node, node, node) side effects?

2013-10-07 Thread Andy Seaborne
On 07/10/13 09:10, Claude Warren wrote: When calling graph.remove( A , B, C ) should the graphListener be informed of delete( Triple ) as well as the graph event ( remove A B C )? I am assuming that the answer is yes always. Don't know -- what does the code do currently? Functionally, what

Re: Side effects of statement deletion.

2013-10-07 Thread Andy Seaborne
On 07/10/13 09:48, Chris Dollin wrote: On Monday, October 07, 2013 09:24:19 AM Claude Warren wrote: Assume a Model M containing one Statement S composed of s,p,o. the expected state is M.contains(S) = T S.getModel() = M s.getModel() = M p.getModel() = M o.getModel() = M assume M.remove(S) is c

Side effect of statement modification

2013-10-07 Thread Claude Warren
Assume a Model M containing one Statement S composed of s,p,o. Assume M has a listener L Assume a Statement S composed of s,p,o that is of Model M but not in Model M. the expected state is M.contains(S) = F S.getModel() = M s.getModel() = M p.getModel() = M o.getModel() = M assume S2 = S.changeLi

Re: Re: FW: jenkins

2013-10-07 Thread Claude Warren
I didn't look. I'm busy digging around in test code. I will be looking eventually but I figured all the devs on this list might like to think about it. As a side note: I do know that the following packages do use it: htmlunit-2.8 HttpWebConnection.downloadContent() guava-11.0.2 FileBackedOutputS

Re: Re: FW: jenkins

2013-10-07 Thread Chris Dollin
On Monday, October 07, 2013 09:48:23 AM Claude Warren wrote: > So now, my question is for the code we are testing are there > File.deleteOnExit() calls? Are we using the method in the test code itself? Isn't this a job for `grep -r`? (Or IDE magic searches) Chris (who doesn't have the current

Re: FW: jenkins

2013-10-07 Thread Claude Warren
I came across an interesting tidbit that generally results in OOM Perm Gen. Any code that calls File.deleteOnExit() should not be used in a server environment. basically, every deleteOnExit() uses some memory to track the file and its order for deletion. That memory is not freed until the JVM sh

Re: Side effects of statement deletion.

2013-10-07 Thread Chris Dollin
On Monday, October 07, 2013 09:24:19 AM Claude Warren wrote: > Assume a Model M containing one Statement S composed of s,p,o. > > the expected state is > M.contains(S) = T > S.getModel() = M > s.getModel() = M > p.getModel() = M > o.getModel() = M > > assume M.remove(S) is called. > what is the e

Side effects of statement deletion.

2013-10-07 Thread Claude Warren
Assume a Model M containing one Statement S composed of s,p,o. the expected state is M.contains(S) = T S.getModel() = M s.getModel() = M p.getModel() = M o.getModel() = M assume M.remove(S) is called. what is the expected state? M.contains(S) = F S.getModel()= ? s.getModel() = ? p.getModel() = ?

graph remove( node, node, node) side effects?

2013-10-07 Thread Claude Warren
When calling graph.remove( A , B, C ) should the graphListener be informed of delete( Triple ) as well as the graph event ( remove A B C )? I am assuming that the answer is yes always. Functionally, what is the difference between remove( A, B, C ) and delete (Triple)? I managed to get the contra