This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rdf.git


The following commit(s) were added to refs/heads/master by this push:
     new 11f0b604 Use method reference
11f0b604 is described below

commit 11f0b6048ffdabada0b1507ecf7bc09d6d17b803
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sat Jun 24 12:02:45 2023 -0400

    Use method reference
---
 .../test/java/org/apache/commons/rdf/rdf4j/NativeStoreGraphTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/commons-rdf-rdf4j/src/test/java/org/apache/commons/rdf/rdf4j/NativeStoreGraphTest.java
 
b/commons-rdf-rdf4j/src/test/java/org/apache/commons/rdf/rdf4j/NativeStoreGraphTest.java
index 5f824314..f2107f0c 100644
--- 
a/commons-rdf-rdf4j/src/test/java/org/apache/commons/rdf/rdf4j/NativeStoreGraphTest.java
+++ 
b/commons-rdf-rdf4j/src/test/java/org/apache/commons/rdf/rdf4j/NativeStoreGraphTest.java
@@ -124,7 +124,7 @@ public class NativeStoreGraphTest extends AbstractGraphTest 
{
 
     public synchronized SailRepository getRepository() {
         if (repository == null) {
-            Uncheck.run(() -> createRepository());
+            Uncheck.run(this::createRepository);
         }
         return repository;
     }

Reply via email to