Permalink
Browse files

CLEREZZA-721: for real now

git-svn-id: https://svn.apache.org/repos/asf/incubator/clerezza/trunk@1415778 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 0a9e680 commit 67cc652eaf3324f4a6cdc73b880b8cb27d10d433 @retog retog committed Nov 30, 2012
@@ -287,9 +287,12 @@ public GraphNode getScript(
@Produces("text/plain")
public GraphNode getScriptList(
@QueryParam(value = "resource") UriRef uriRef) {
+ return getScriptList((NonLiteral)uriRef);
+ }
+ private GraphNode getScriptList(
+ @QueryParam(value = "resource") NonLiteral resource) {
AccessController.checkPermission(new ScriptManagerAppPermission());
- NonLiteral resource = uriRef;
if(resource == null) {
resource = new BNode();
}

0 comments on commit 67cc652

Please sign in to comment.