This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new acc03e43d775 CAMEL-21356: camel-tooling-model - fix the five doclint 
errors, including two swallowed placeholders (#31074)
acc03e43d775 is described below

commit acc03e43d775f1f6b9cae6be60d647957c1b93d4
Author: dhairya05 <[email protected]>
AuthorDate: Fri Dec 4 14:55:15 2026 +0530

    CAMEL-21356: camel-tooling-model - fix the five doclint errors, including 
two swallowed placeholders (#31074)
    
    Fixes the five doclint errors in camel-tooling-model: the self-closing <p/> 
in BodyTypeModel and BodyTypeResolver, <tt> in LanguageModel, and the 
camel.language.<name>.<option> placeholders that javadoc read as HTML tags and 
dropped from the rendered docs. They are now wrapped in {@code ...}. Javadoc 
only.
    
    Part of CAMEL-21356, which stays open for the other modules.
    
    _Claude Code on behalf of Dhairya-007_
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
 .../java/org/apache/camel/tooling/model/BodyTypeModel.java     |  2 +-
 .../java/org/apache/camel/tooling/model/BodyTypeResolver.java  |  2 +-
 .../java/org/apache/camel/tooling/model/LanguageModel.java     | 10 +++++-----
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git 
a/tooling/camel-tooling-model/src/main/java/org/apache/camel/tooling/model/BodyTypeModel.java
 
b/tooling/camel-tooling-model/src/main/java/org/apache/camel/tooling/model/BodyTypeModel.java
index c03bfd275478..a750c65ca16f 100644
--- 
a/tooling/camel-tooling-model/src/main/java/org/apache/camel/tooling/model/BodyTypeModel.java
+++ 
b/tooling/camel-tooling-model/src/main/java/org/apache/camel/tooling/model/BodyTypeModel.java
@@ -24,7 +24,7 @@ import java.util.Map;
 /**
  * One side of the body types of a component, data format, language or EIP: 
the body a step needs, or the body it leaves
  * after it, with the default options (CAMEL-24961, CAMEL-25928).
- * <p/>
+ * <p>
  * The carriers are the kinds of Java object the body is in: null, text, 
bytes, stream, file, value, map, list, iterator
  * and pojo; unchanged for a step that leaves the body as it was, any for a 
step that takes any body, and unknown for a
  * body that depends on what the other system sends or on a class the user 
configures.
diff --git 
a/tooling/camel-tooling-model/src/main/java/org/apache/camel/tooling/model/BodyTypeResolver.java
 
b/tooling/camel-tooling-model/src/main/java/org/apache/camel/tooling/model/BodyTypeResolver.java
index 34cef6604c23..398ce2e3dca3 100644
--- 
a/tooling/camel-tooling-model/src/main/java/org/apache/camel/tooling/model/BodyTypeResolver.java
+++ 
b/tooling/camel-tooling-model/src/main/java/org/apache/camel/tooling/model/BodyTypeResolver.java
@@ -28,7 +28,7 @@ import 
org.apache.camel.tooling.model.BodyTypeModel.OptionBodyTypeModel;
 /**
  * What one side of the body types of the catalog says for the options a step 
sets (CAMEL-24961, CAMEL-25928): the rule
  * that the YAML validator and the other tools share, so they all read the 
catalog the same way.
- * <p/>
+ * <p>
  * The rule, in order:
  * <ol>
  * <li>An option of byOption for any value ({@code *}) the step sets: that 
body, whatever the rest says, even for a side
diff --git 
a/tooling/camel-tooling-model/src/main/java/org/apache/camel/tooling/model/LanguageModel.java
 
b/tooling/camel-tooling-model/src/main/java/org/apache/camel/tooling/model/LanguageModel.java
index f8a5918b50e9..14fbeb68b81b 100644
--- 
a/tooling/camel-tooling-model/src/main/java/org/apache/camel/tooling/model/LanguageModel.java
+++ 
b/tooling/camel-tooling-model/src/main/java/org/apache/camel/tooling/model/LanguageModel.java
@@ -56,10 +56,10 @@ public class LanguageModel extends 
ArtifactModel<LanguageModel.LanguageOptionMod
     }
 
     /**
-     * The options of the language itself, which 
camel.language.<name>.<option> sets on the language and which apply to
-     * all its expressions. These are not the options of an expression ({@link 
#getOptions()}).
+     * The options of the language itself, which {@code 
camel.language.<name>.<option>} sets on the language and which
+     * apply to all its expressions. These are not the options of an 
expression ({@link #getOptions()}).
      *
-     * @return the options, empty when the language has none, or <tt>null</tt> 
when the catalog is older than these
+     * @return the options, empty when the language has none, or {@code null} 
when the catalog is older than these
      *         options (before Camel 4.24) and does not say
      */
     public List<LanguageOptionModel> getLanguageOptions() {
@@ -71,8 +71,8 @@ public class LanguageModel extends 
ArtifactModel<LanguageModel.LanguageOptionMod
     }
 
     /**
-     * The options that camel.language.<name>.<option> can set: the {@link 
#getLanguageOptions() language options}, or
-     * the expression options when the catalog is older than the language 
options and does not have them.
+     * The options that {@code camel.language.<name>.<option>} can set: the 
{@link #getLanguageOptions() language
+     * options}, or the expression options when the catalog is older than the 
language options and does not have them.
      */
     public List<LanguageOptionModel> getConfigurationOptions() {
         return languageOptions != null ? languageOptions : getOptions();

Reply via email to