File tree Expand file tree Collapse file tree
src/main/java/com/atomgraph/linkeddatahub/resource/acl Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ public Response get(@QueryParam(QUERY) Query unused,
132132 Query authQuery = new SetResultSetValues ().apply (authPss .asQuery (), docTypesResult );
133133 assert authQuery .toString ().contains ("VALUES" );
134134
135- Model authModel = getEndpointAccessor ().loadModel (authQuery , defaultGraphUris , namedGraphUris );
135+ Model authModel = getEndpointAccessor ().loadModel (authQuery , List . of (), List . of () );
136136 // special case where the agent is the owner of the requested document - automatically grant acl:Read/acl:Append/acl:Write access
137137 if (isOwner (accessTo , agent ))
138138 {
@@ -167,7 +167,7 @@ protected boolean isOwner(Resource accessTo, Resource agent)
167167 ParameterizedSparqlString pss = getDocumentOwnerQuery ();
168168 pss .setParams (qsm );
169169
170- ResultSetRewindable docOwnerResult = getEndpointAccessor ().select (pss .asQuery (), null , null );
170+ ResultSetRewindable docOwnerResult = getEndpointAccessor ().select (pss .asQuery (), List . of (), List . of () );
171171 //loadResultSet(getApplication().getService(), getDocumentOwnerQuery(), qsm); // could use ASK query in principle
172172 try
173173 {
You can’t perform that action at this time.
0 commit comments