Github user ajs6f commented on a diff in the pull request:
https://github.com/apache/jena/pull/109#discussion_r47496526
--- Diff:
jena-arq/src/test/java/org/apache/jena/sparql/core/mem/AbstractTestTupleTable.java
---
@@ -42,71 +43,68 @@
protected static final Set<TupleSlot> allWildcardQuery = of();
+ protected long transactionalCount() {
+ table().begin(READ);
+ long x = rawCount() ;
--- End diff --
Could this not be
```
table().begin(READ);
try { return rawCount(); }
finally { table().end(); }
```
That seems more readable to me, but maybe that's just my taste.
---
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.
---