Re: Immutability

2017-11-13 Thread Claude Warren
One more note: I have an project where we are using in memory Models as the storage for object data (i.e. all/most instance variables are stored in the model). In some cases we want to lock the model so that no further changes can occur (specifically when we pass the model through a listener

Re: Immutability

2017-11-13 Thread Claude Warren
In most cases I prefer immutable interfaces. However, immutable interfaces pose an interesting problem for contract testing and for the permissions implementation. In contract testing you get have a producer to create instances of an interface and tests you run against it. However, since you

[jira] [Created] (JENA-1422) tdb2.tdbloader fails when trying to load to named graph

2017-11-13 Thread Osma Suominen (JIRA)
Osma Suominen created JENA-1422: --- Summary: tdb2.tdbloader fails when trying to load to named graph Key: JENA-1422 URL: https://issues.apache.org/jira/browse/JENA-1422 Project: Apache Jena

Immutability

2017-11-13 Thread Adam Jacobs
The subject of immutability was raised in JENA-1391 (https://issues.apache.org/jira/browse/JENA-1391). Specifically, the `getUnionModel` method in Jena 3.4 returns an immutable model view, and the implementation of the aforementioned story includes methods that will return an immutable dataset

[jira] [Commented] (JENA-1418) Upgrade minor dependencies

2017-11-13 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/JENA-1418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16250377#comment-16250377 ] ASF GitHub Bot commented on JENA-1418: -- Github user afs commented on the issue:

[GitHub] jena issue #307: JENA-1418: Upgrade some versions

2017-11-13 Thread afs
Github user afs commented on the issue: https://github.com/apache/jena/pull/307 I'd like to get version changes in so they have more time to bed down. I took the proposed version changes in PR #304 which seem uncontroversial. PR #289 also has Commons Lang 3.4 -> 3.6

[jira] [Commented] (JENA-1418) Upgrade minor dependencies

2017-11-13 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/JENA-1418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16250367#comment-16250367 ] ASF GitHub Bot commented on JENA-1418: -- GitHub user afs opened a pull request:

[GitHub] jena pull request #307: JENA-1418: Upgrade some versions

2017-11-13 Thread afs
GitHub user afs opened a pull request: https://github.com/apache/jena/pull/307 JENA-1418: Upgrade some versions This extracts the suggested version upgrades from PR#304. It removes [maven-eclipse-plugin](http://maven.apache.org/plugins/maven-eclipse-plugin/) which is

[jira] [Commented] (JENA-1388) Lucene text search across multiple fields ("AND") yields no results

2017-11-13 Thread Osma Suominen (JIRA)
[ https://issues.apache.org/jira/browse/JENA-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16249412#comment-16249412 ] Osma Suominen commented on JENA-1388: - As already noted, these kinds of queries are supported by the

[jira] [Resolved] (JENA-1388) Lucene text search across multiple fields ("AND") yields no results

2017-11-13 Thread Osma Suominen (JIRA)
[ https://issues.apache.org/jira/browse/JENA-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Osma Suominen resolved JENA-1388. - Resolution: Won't Fix Marking this as Won't Fix, as per discussion above. If you think that the