Skip to content

Commit f1fbaba

Browse files
committed
Fix styles
1 parent 9afa8f2 commit f1fbaba

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

core/esmf-aspect-meta-model-java/src/main/java/org/eclipse/esmf/aspectmodel/utils/DescriptionsUtils.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
/**
2323
* Utility class for extracting and rendering structured content blocks (such as NOTE, EXAMPLE, SOURCE)
2424
* from SAMM-compliant Markdown descriptions.
25-
* <p>
26-
* This class supports parsing multi-line Markdown-style input and extracting semantically significant
25+
*
26+
* <p> This class supports parsing multi-line Markdown-style input and extracting semantically significant
2727
* sections such as {@code > NOTE: ...}, {@code > EXAMPLE: ...}, and {@code > SOURCE: ...}.
2828
* These blocks can be retrieved as plain text or rendered into HTML using {@link MarkdownHtmlRenderer}.
2929
*/
@@ -85,8 +85,8 @@ public static String toHtml( final Set<String> descriptions ) {
8585

8686
/**
8787
* Extracts all blocks of a specified type (e.g., NOTE, EXAMPLE, SOURCE) from a set of Markdown strings.
88-
* <p>
89-
* Each block is expected to begin with a {@code > TYPE:} line and may span multiple lines,
88+
*
89+
* <p> Each block is expected to begin with a {@code > TYPE:} line and may span multiple lines,
9090
* each of which begins with {@code >}.
9191
*
9292
* @param descriptions A set of multi-line Markdown description strings.

core/esmf-aspect-meta-model-java/src/main/java/org/eclipse/esmf/aspectmodel/utils/MarkdownHtmlRenderer.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828

2929
/**
3030
* A utility class for converting SAMM-flavored Markdown descriptions into HTML.
31-
* <p>
32-
* This renderer supports a limited subset of Markdown syntax and introduces
31+
*
32+
* <p> This renderer supports a limited subset of Markdown syntax and introduces
3333
* custom processing for specific annotated blocks commonly used in SAMM descriptions,
3434
* such as {@code > NOTE: ...}, {@code > EXAMPLE: ...}, and {@code > SOURCE: ...}.
3535
* These blocks are extracted and rendered into semantically meaningful HTML
@@ -97,11 +97,11 @@ private static String processSpecialBlocks( final String rawMarkdown ) {
9797

9898
/**
9999
* Renders a list of extracted special blocks into HTML.
100-
* <p>
100+
*
101101
* - For {@code NOTE} and {@code SOURCE}, each entry is rendered in a {@code <div>} with a matching class.<br>
102102
* - For {@code EXAMPLE}, a single example is rendered as a {@code <div>}; multiple examples as a {@code <ul>}.
103103
*
104-
* @param type The type of the special block (e.g., "NOTE", "EXAMPLE", "SOURCE").
104+
* @param type The type of the special block (e.g., "NOTE", "EXAMPLE", "SOURCE").
105105
* @param items The list of block contents for that type.
106106
* @return The rendered HTML string for the block.
107107
*/
@@ -139,7 +139,7 @@ private static String renderSpecialBlock( final String type, final List<String>
139139
* Collects all special block entries (NOTE, EXAMPLE, SOURCE) from the input lines.
140140
* Lines not belonging to special blocks are appended to the {@code markdownBuffer}.
141141
*
142-
* @param lines Stripped lines from the raw markdown block.
142+
* @param lines Stripped lines from the raw markdown block.
143143
* @param markdownBuffer Buffer to store non-special markdown content.
144144
* @return A map of special block types to their associated content.
145145
*/
@@ -173,8 +173,8 @@ private static Map<String, List<String>> collectSpecialBlocks( final String[] li
173173
* Flushes the current block to the target map if non-empty.
174174
*
175175
* @param currentType The type of block being collected.
176-
* @param block The current content buffer for the block.
177-
* @param target The target map of blocks.
176+
* @param block The current content buffer for the block.
177+
* @param target The target map of blocks.
178178
*/
179179
private static void flushBlock( final String currentType, final StringBuilder block, final Map<String, List<String>> target ) {
180180
if ( currentType != null && !block.isEmpty() ) {
File renamed without changes.

0 commit comments

Comments
 (0)