Skip to content

Commit

Permalink
TemplateDTO: remove ownerResourceId again
Browse files Browse the repository at this point in the history
  • Loading branch information
yvespp committed Jul 22, 2021
1 parent afcae50 commit 3c48618
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public class TemplateDTO {

private Integer id;
private String relatedResourceIdentifier;
private Integer ownerResourceId;
private String name;
private String targetPath;
private Set<String> targetPlatforms;
Expand All @@ -49,9 +48,6 @@ public class TemplateDTO {
public TemplateDTO(TemplateDescriptorEntity template){
this.id = template.getId();
this.relatedResourceIdentifier = template.getRelatedResourceIdentifier();
if (template.getOwnerResource() != null) {
this.ownerResourceId = template.getOwnerResource().getId();
}
this.name = template.getName();
this.targetPath = template.getTargetPath();
targetPlatforms = new HashSet<>();
Expand Down

0 comments on commit 3c48618

Please sign in to comment.