From e58b57b900d27ff1744d6c6b58f4aedf1ae310db Mon Sep 17 00:00:00 2001 From: Josh Suereth Date: Wed, 7 Aug 2024 12:36:19 -0400 Subject: [PATCH] Add workaround for javadoc issue. --- .../incubating_java/IncubatingSemanticAttributes.java.j2 | 2 +- buildscripts/templates/registry/java/SemanticAttributes.java.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2 b/buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2 index 2e4184a..6a1cac0 100644 --- a/buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2 +++ b/buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2 @@ -48,7 +48,7 @@ public final class {{ my_class_name }} { *

Notes: {# NOTE: replace("> ", "") removes the following problematic characters which produce mangled javadoc: #} {# https://github.com/open-telemetry/semantic-conventions/blob/c83a10a9c33c18a769835e959200d0e24dc708fe/model/resource/k8s.yaml#L34-L38 #} -

+ {%- endif %} * {%- if attribute is deprecated %} diff --git a/buildscripts/templates/registry/java/SemanticAttributes.java.j2 b/buildscripts/templates/registry/java/SemanticAttributes.java.j2 index 0aebcb0..ab3e146 100644 --- a/buildscripts/templates/registry/java/SemanticAttributes.java.j2 +++ b/buildscripts/templates/registry/java/SemanticAttributes.java.j2 @@ -49,7 +49,7 @@ public final class {{ my_class_name }} { *

Notes: {# NOTE: replace("> ", "") removes the following problematic characters which produce mangled javadoc: #} {# https://github.com/open-telemetry/semantic-conventions/blob/c83a10a9c33c18a769835e959200d0e24dc708fe/model/resource/k8s.yaml#L34-L38 #} -

+ {%- endif %} * {%- if attribute is deprecated %}