Skip to content

Commit

Permalink
https://github.com/metadatacenter/cedar-project/issues/1198
Browse files Browse the repository at this point in the history
  • Loading branch information
Attila L. Egyedi committed Nov 8, 2023
1 parent 50c2cf5 commit 6454838
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ public Response findFolder(@PathParam(PP_ID) String id,
for (FolderServerResourceExtract parent : pathInfo) {
if (parent.getIsOpen() != null && parent.getIsOpen()) {
foundOpenParent = true;
break;
}
}
if (!foundOpenParent) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class TemplateElementsResource extends AbstractOpenViewResource {

public TemplateElementsResource(CedarConfig cedarConfig, TemplateElementService<String, JsonNode> templateElementService) {
super(cedarConfig);
this.templateElementService = templateElementService;
TemplateElementsResource.templateElementService = templateElementService;
}

@GET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class TemplateFieldsResource extends AbstractOpenViewResource {

public TemplateFieldsResource(CedarConfig cedarConfig, TemplateFieldService<String, JsonNode> templateFieldService) {
super(cedarConfig);
this.templateFieldService = templateFieldService;
TemplateFieldsResource.templateFieldService = templateFieldService;
}

@GET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class TemplateInstancesResource extends AbstractOpenViewResource {

public TemplateInstancesResource(CedarConfig cedarConfig, TemplateInstanceService<String, JsonNode> templateInstanceService) {
super(cedarConfig);
this.templateInstanceService = templateInstanceService;
TemplateInstancesResource.templateInstanceService = templateInstanceService;
}

@GET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class TemplatesResource extends AbstractOpenViewResource {

public TemplatesResource(CedarConfig cedarConfig, TemplateService<String, JsonNode> templateService) {
super(cedarConfig);
this.templateService = templateService;
TemplatesResource.templateService = templateService;
}

@GET
Expand Down

0 comments on commit 6454838

Please sign in to comment.