Skip to content

Commit

Permalink
fix(plc4j/codegen): fix extension
Browse files Browse the repository at this point in the history
  • Loading branch information
sruehl committed Jan 26, 2022
1 parent 78d068e commit 9179cf1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ import java.math.BigInteger;

<#-- TODO: the code below implies that parserArguments will be null if not present... not pretty -->
<#if type.parserArguments.isPresent()><#assign parserArguments=type.allParserArguments.orElseThrow()></#if>
public<#if type.isDiscriminatedParentTypeDefinition()> abstract</#if> class ${type.name}<#if type.isDiscriminatedParentTypeDefinition()></#if><#if type.parentType??> extends ${type.parentType.name}<${type.name}></#if> implements Message {
public<#if type.isDiscriminatedParentTypeDefinition()> abstract</#if> class ${type.name}<#if type.isDiscriminatedParentTypeDefinition()></#if><#if type.parentType??> extends ${type.parentType.name}</#if> implements Message {

<#--
If this is a discriminated child type, we need to generate methods for accessing it's discriminator
Expand Down

0 comments on commit 9179cf1

Please sign in to comment.