Skip to content

Commit e93b11a

Browse files
committed
pull up getQueryExecution to superclass
1 parent 570820a commit e93b11a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

context-monitoring/src/main/java/de/atb/context/persistence/monitoring/MonitoringDataRepository.java

+1-4
Original file line numberDiff line numberDiff line change
@@ -456,10 +456,7 @@ public synchronized ResultSet executeSparqlSelectQuery(final BusinessCase busine
456456

457457
final Dataset dataset = getDataSet(businessCase);
458458

459-
return transactional(dataset, null, () -> {
460-
final QueryExecution qexec = getQueryExecution(query, false, dataset);
461-
return qexec.execSelect();
462-
});
459+
return transactional(dataset, null, () -> getQueryExecution(query, false, dataset).execSelect());
463460
}
464461

465462
@SuppressWarnings("unchecked")

0 commit comments

Comments
 (0)