This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git
The following commit(s) were added to refs/heads/develop by this push:
new f8acab5e26 chore: Updated the template to stop IntelliJ wanting to
correct the grammar.
f8acab5e26 is described below
commit f8acab5e260a09648deedd27b5df1b0e7232f4ac
Author: Christofer Dutz <[email protected]>
AuthorDate: Wed Sep 3 12:59:16 2025 +0200
chore: Updated the template to stop IntelliJ wanting to correct the grammar.
---
.../src/main/resources/templates/java/complex-type-template.java.ftlh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/code-generation/language/java/src/main/resources/templates/java/complex-type-template.java.ftlh
b/code-generation/language/java/src/main/resources/templates/java/complex-type-template.java.ftlh
index 3b4f9535d7..66658d7a35 100644
---
a/code-generation/language/java/src/main/resources/templates/java/complex-type-template.java.ftlh
+++
b/code-generation/language/java/src/main/resources/templates/java/complex-type-template.java.ftlh
@@ -388,7 +388,7 @@ public<#if type.isDiscriminatedParentTypeDefinition()>
abstract</#if> class ${ty
<#assign typedField =
field.asTypedField().orElseThrow()>
<#assign namedField =
field.asNamedField().orElseThrow()>
- // Virtual field (doesn't actually serialize anything,
just makes the value available)
+ // Virtual field (doesn't serialize anything, just
makes the value available)
${helper.getLanguageTypeNameForField(field)}
${namedField.name} = get${namedField.name?cap_first}();
writeBuffer.writeVirtual("${namedField.name}",
${namedField.name});
<#break>