Github user ajs6f commented on the pull request:
https://github.com/apache/jena/commit/8601cd3028c0e57dbc805efc5d54d7b9ee272c3f#commitcomment-20399404
In
jena-arq/src/main/java/org/apache/jena/sparql/core/DatasetGraphPerGraphLocking.java:
In
jena-arq/src/main/java/org/apache/jena/sparql/core/DatasetGraphPerGraphLocking.java
on line 109:
No, we do need the `null` check because we start a transaction without
knowing which graph is involved. So there is a period between
`begin(ReadWrite)` and the first call the `getGraph` where `graphInTransaction`
is unset. I caught this with the tests.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---