Skip to content

Commit 2b2cc67

Browse files
committed
Javadoc fix
1 parent 9ec3b67 commit 2b2cc67

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/main/java/com/atomgraph/linkeddatahub/server/filter/request/ProxyRequestFilter.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,7 @@ protected Optional<URI> resolveTargetURI(ContainerRequestContext requestContext)
275275
if (proxyTarget != null) return Optional.of(proxyTarget);
276276

277277
// Case 2: lapp:Dataset proxy
278-
@SuppressWarnings("unchecked")
279-
Optional<Dataset> datasetOpt =
280-
(Optional<Dataset>) requestContext.getProperty(LAPP.Dataset.getURI());
278+
Optional<Dataset> datasetOpt = (Optional<Dataset>) requestContext.getProperty(LAPP.Dataset.getURI());
281279
if (datasetOpt != null && datasetOpt.isPresent())
282280
{
283281
URI proxied = datasetOpt.get().getProxied(requestContext.getUriInfo().getAbsolutePath());
@@ -321,6 +319,7 @@ protected Optional<URI> resolveTargetURI(ContainerRequestContext requestContext)
321319
*
322320
* @param clientResponse response from the proxy target
323321
* @param targetURI upstream URI (used as the parse base URI hint for {@code ModelProvider})
322+
* @param method HTTP method
324323
* @return JAX-RS response to return to the original caller
325324
*/
326325
protected Response getResponse(Response clientResponse, URI targetURI, String method)

0 commit comments

Comments
 (0)