Skip to content

Commit 4437327

Browse files
committed
Javadoc: Use semantic tag <strong> instead of style tag <b>
1 parent ffbabba commit 4437327

File tree

9 files changed

+31
-31
lines changed

9 files changed

+31
-31
lines changed

src/main/java/org/apache/commons/codec/binary/Base32OutputStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
* character encodings which are compatible with the lower 127 ASCII chart (ISO-8859-1, Windows-1252, UTF-8, etc).
3535
* </p>
3636
* <p>
37-
* <b>Note:</b> It is mandatory to close the stream after the last byte has been written to it, otherwise the
37+
* <strong>Note:</strong> It is mandatory to close the stream after the last byte has been written to it, otherwise the
3838
* final padding will be omitted and the resulting data will be incomplete/inconsistent.
3939
* </p>
4040
* <p>

src/main/java/org/apache/commons/codec/binary/Base64.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public static Builder builder() {
193193
/**
194194
* Decodes Base64 data into octets.
195195
* <p>
196-
* <b>Note:</b> this method seamlessly handles data encoded in URL-safe or normal mode.
196+
* <strong>Note:</strong> this method seamlessly handles data encoded in URL-safe or normal mode.
197197
* </p>
198198
*
199199
* @param base64Data
@@ -207,7 +207,7 @@ public static byte[] decodeBase64(final byte[] base64Data) {
207207
/**
208208
* Decodes a Base64 String into octets.
209209
* <p>
210-
* <b>Note:</b> this method seamlessly handles data encoded in URL-safe or normal mode.
210+
* <strong>Note:</strong> this method seamlessly handles data encoded in URL-safe or normal mode.
211211
* </p>
212212
*
213213
* @param base64String
@@ -266,7 +266,7 @@ public static byte[] encodeBase64(final byte[] binaryData, final boolean isChunk
266266
* if {@code true} this encoder will chunk the base64 output into 76 character blocks
267267
* @param urlSafe
268268
* if {@code true} this encoder will emit - and _ instead of the usual + and / characters.
269-
* <b>Note: No padding is added when encoding using the URL-safe alphabet.</b>
269+
* <strong>Note: No padding is added when encoding using the URL-safe alphabet.</strong>
270270
* @return Base64-encoded data.
271271
* @throws IllegalArgumentException
272272
* Thrown when the input array needs an output array bigger than {@link Integer#MAX_VALUE}
@@ -285,7 +285,7 @@ public static byte[] encodeBase64(final byte[] binaryData, final boolean isChunk
285285
* if {@code true} this encoder will chunk the base64 output into 76 character blocks
286286
* @param urlSafe
287287
* if {@code true} this encoder will emit - and _ instead of the usual + and / characters.
288-
* <b>Note: No padding is added when encoding using the URL-safe alphabet.</b>
288+
* <strong>Note: No padding is added when encoding using the URL-safe alphabet.</strong>
289289
* @param maxResultSize
290290
* The maximum result size to accept.
291291
* @return Base64-encoded data.
@@ -340,7 +340,7 @@ public static String encodeBase64String(final byte[] binaryData) {
340340
/**
341341
* Encodes binary data using a URL-safe variation of the base64 algorithm but does not chunk the output. The
342342
* url-safe variation emits - and _ instead of + and / characters.
343-
* <b>Note: No padding is added.</b>
343+
* <strong>Note: No padding is added.</strong>
344344
* @param binaryData
345345
* binary data to encode
346346
* @return byte[] containing Base64 characters in their UTF-8 representation.
@@ -353,7 +353,7 @@ public static byte[] encodeBase64URLSafe(final byte[] binaryData) {
353353
/**
354354
* Encodes binary data using a URL-safe variation of the base64 algorithm but does not chunk the output. The
355355
* url-safe variation emits - and _ instead of + and / characters.
356-
* <b>Note: No padding is added.</b>
356+
* <strong>Note: No padding is added.</strong>
357357
* @param binaryData
358358
* binary data to encode
359359
* @return String containing Base64 characters
@@ -603,7 +603,7 @@ public Base64(final int lineLength, final byte[] lineSeparator) {
603603
* @param urlSafe
604604
* Instead of emitting '+' and '/' we emit '-' and '_' respectively. urlSafe is only applied to encode
605605
* operations. Decoding seamlessly handles both modes.
606-
* <b>Note: No padding is added when using the URL-safe alphabet.</b>
606+
* <strong>Note: No padding is added when using the URL-safe alphabet.</strong>
607607
* @throws IllegalArgumentException
608608
* Thrown when the {@code lineSeparator} contains Base64 characters.
609609
* @since 1.4
@@ -634,7 +634,7 @@ public Base64(final int lineLength, final byte[] lineSeparator, final boolean ur
634634
* @param urlSafe
635635
* Instead of emitting '+' and '/' we emit '-' and '_' respectively. urlSafe is only applied to encode
636636
* operations. Decoding seamlessly handles both modes.
637-
* <b>Note: No padding is added when using the URL-safe alphabet.</b>
637+
* <strong>Note: No padding is added when using the URL-safe alphabet.</strong>
638638
* @param decodingPolicy The decoding policy.
639639
* @throws IllegalArgumentException
640640
* Thrown when the {@code lineSeparator} contains Base64 characters.
@@ -807,7 +807,7 @@ void decode(final byte[] input, int inPos, final int inAvail, final Context cont
807807
* the data to encode, and once with inAvail set to "-1" to alert encoder that EOF has been reached, to flush last
808808
* remaining bytes (if not multiple of 3).
809809
* </p>
810-
* <p><b>Note: No padding is added when encoding using the URL-safe alphabet.</b></p>
810+
* <p><strong>Note: No padding is added when encoding using the URL-safe alphabet.</strong></p>
811811
* <p>
812812
* Thanks to "commons" project in ws.apache.org for the bitwise operations, and general approach.
813813
* https://svn.apache.org/repos/asf/webservices/commons/trunk/modules/util/

src/main/java/org/apache/commons/codec/binary/Base64OutputStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
* character encodings which are compatible with the lower 127 ASCII chart (ISO-8859-1, Windows-1252, UTF-8, etc).
3939
* </p>
4040
* <p>
41-
* <b>Note:</b> It is mandatory to close the stream after the last byte has been written to it, otherwise the
41+
* <strong>Note:</strong> It is mandatory to close the stream after the last byte has been written to it, otherwise the
4242
* final padding will be omitted and the resulting data will be incomplete/inconsistent.
4343
* </p>
4444
* <p>

src/main/java/org/apache/commons/codec/language/Soundex.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public class Soundex implements StringEncoder {
5353
* up the value for the constant values page.)
5454
* </p>
5555
* <p>
56-
* <b>Note that letters H and W are treated specially.</b>
56+
* <strong>Note that letters H and W are treated specially.</strong>
5757
* They are ignored (after the first letter) and don't act as separators
5858
* between consonants with the same code.
5959
* </p>

src/main/java/org/apache/commons/codec/language/bm/BeiderMorseEncoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
* splitting on pipe ({@code |}) and indexing under each of these alternatives.
7070
* </p>
7171
* <p>
72-
* <b>Note</b>: this version of the Beider-Morse encoding is equivalent with v3.4 of the reference implementation.
72+
* <strong>Note</strong>: this version of the Beider-Morse encoding is equivalent with v3.4 of the reference implementation.
7373
* </p>
7474
* @see <a href="https://stevemorse.org/phonetics/bmpm.htm">Beider-Morse Phonetic Matching</a>
7575
* @see <a href="https://stevemorse.org/phoneticinfo.htm">Reference implementation</a>

src/main/java/org/apache/commons/codec/language/bm/Lang.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,19 +54,19 @@
5454
* The format of these resources is the following:
5555
* </p>
5656
* <ul>
57-
* <li><b>Rules:</b> whitespace separated strings.
57+
* <li><strong>Rules:</strong> whitespace separated strings.
5858
* There should be 3 columns to each row, and these will be interpreted as:
5959
* <ol>
6060
* <li>pattern: a regular expression.</li>
6161
* <li>languages: a '+'-separated list of languages.</li>
6262
* <li>acceptOnMatch: 'true' or 'false' indicating if a match rules in or rules out the language.</li>
6363
* </ol>
6464
* </li>
65-
* <li><b>End-of-line comments:</b> Any occurrence of '//' will cause all text following on that line to be
65+
* <li><strong>End-of-line comments:</strong> Any occurrence of '//' will cause all text following on that line to be
6666
* discarded as a comment.</li>
67-
* <li><b>Multi-line comments:</b> Any line starting with '/*' will start multi-line commenting mode.
67+
* <li><strong>Multi-line comments:</strong> Any line starting with '/*' will start multi-line commenting mode.
6868
* This will skip all content until a line ending in '*' and '/' is found.</li>
69-
* <li><b>Blank lines:</b> All blank lines will be skipped.</li>
69+
* <li><strong>Blank lines:</strong> All blank lines will be skipped.</li>
7070
* </ul>
7171
* <p>
7272
* Port of lang.php

src/main/java/org/apache/commons/codec/language/bm/Languages.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@
4040
* The format of these resources is the following:
4141
* </p>
4242
* <ul>
43-
* <li><b>Language:</b> a single string containing no whitespace</li>
44-
* <li><b>End-of-line comments:</b> Any occurrence of '//' will cause all text
43+
* <li><strong>Language:</strong> a single string containing no whitespace</li>
44+
* <li><strong>End-of-line comments:</strong> Any occurrence of '//' will cause all text
4545
* following on that line to be discarded as a comment.</li>
46-
* <li><b>Multi-line comments:</b> Any line starting with '/*' will start
46+
* <li><strong>Multi-line comments:</strong> Any line starting with '/*' will start
4747
* multi-line commenting mode. This will skip all content until a line ending in
4848
* '*' and '/' is found.</li>
49-
* <li><b>Blank lines:</b> All blank lines will be skipped.</li>
49+
* <li><strong>Blank lines:</strong> All blank lines will be skipped.</li>
5050
* </ul>
5151
* <p>
5252
* Ported from language.php

src/main/java/org/apache/commons/codec/language/bm/Rule.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
* The format of these resources is the following:
6565
* </p>
6666
* <ul>
67-
* <li><b>Rules:</b> whitespace separated, double-quoted strings. There should be 4 columns to each row, and these
67+
* <li><strong>Rules:</strong> whitespace separated, double-quoted strings. There should be 4 columns to each row, and these
6868
* will be interpreted as:
6969
* <ol>
7070
* <li>pattern</li>
@@ -73,11 +73,11 @@
7373
* <li>phoneme</li>
7474
* </ol>
7575
* </li>
76-
* <li><b>End-of-line comments:</b> Any occurrence of '//' will cause all text following on that line to be discarded
76+
* <li><strong>End-of-line comments:</strong> Any occurrence of '//' will cause all text following on that line to be discarded
7777
* as a comment.</li>
78-
* <li><b>Multi-line comments:</b> Any line starting with '/*' will start multi-line commenting mode. This will skip
78+
* <li><strong>Multi-line comments:</strong> Any line starting with '/*' will start multi-line commenting mode. This will skip
7979
* all content until a line ending in '*' and '/' is found.</li>
80-
* <li><b>Blank lines:</b> All blank lines will be skipped.</li>
80+
* <li><strong>Blank lines:</strong> All blank lines will be skipped.</li>
8181
* </ul>
8282
*
8383
* @since 1.6

src/test/java/org/apache/commons/codec/language/bm/PhoneticEnginePerformanceTest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
* <li>Time for encoding 80,000 times the input 'Angelo': 33,039 millis.</li>
4141
* <li>Time for encoding 80,000 times the input 'Angelo': 32,297 millis.</li>
4242
* <li>Time for encoding 80,000 times the input 'Angelo': 32,857 millis.</li>
43-
* <li>Time for encoding 80,000 times the input 'Angelo': <b>31,561 millis.</b></li>
43+
* <li>Time for encoding 80,000 times the input 'Angelo': <strong>31,561 millis.</strong></li>
4444
* <li>Time for encoding 80,000 times the input 'Angelo': 32,665 millis.</li>
4545
* <li>Time for encoding 80,000 times the input 'Angelo': 32,215 millis.</li>
4646
* </ol>
@@ -53,7 +53,7 @@
5353
* <li>Time for encoding 80,000 times the input 'Angelo': 18,196 millis.</li>
5454
* <li>Time for encoding 80,000 times the input 'Angelo': 13,858 millis.</li>
5555
* <li>Time for encoding 80,000 times the input 'Angelo': 13,644 millis.</li>
56-
* <li>Time for encoding 80,000 times the input 'Angelo': <b>13,591 millis.</b></li>
56+
* <li>Time for encoding 80,000 times the input 'Angelo': <strong>13,591 millis.</strong></li>
5757
* <li>Time for encoding 80,000 times the input 'Angelo': 13,861 millis.</li>
5858
* <li>Time for encoding 80,000 times the input 'Angelo': 13,696 millis.</li>
5959
* </ol>
@@ -67,7 +67,7 @@
6767
* </p>
6868
* <ol>
6969
* <li>Time for encoding 80,000 times the input 'Angelo': 13,547 millis.</li>
70-
* <li>Time for encoding 80,000 times the input 'Angelo': <b>13,501 millis.</b></li>
70+
* <li>Time for encoding 80,000 times the input 'Angelo': <strong>13,501 millis.</strong></li>
7171
* <li>Time for encoding 80,000 times the input 'Angelo': 13,528 millis.</li>
7272
* <li>Time for encoding 80,000 times the input 'Angelo': 17,110 millis.</li>
7373
* <li>Time for encoding 80,000 times the input 'Angelo': 13,910 millis.</li>
@@ -85,7 +85,7 @@
8585
* <li>Time for encoding 80,000 times the input 'Angelo': 13,724 millis.</li>
8686
* <li>Time for encoding 80,000 times the input 'Angelo': 13,451 millis.</li>
8787
* <li>Time for encoding 80,000 times the input 'Angelo': 13,742 millis.</li>
88-
* <li>Time for encoding 80,000 times the input 'Angelo': <b>13,186 millis.</b></li>
88+
* <li>Time for encoding 80,000 times the input 'Angelo': <strong>13,186 millis.</strong></li>
8989
* <li>Time for encoding 80,000 times the input 'Angelo': 13,600 millis.</li>
9090
* <li>Time for encoding 80,000 times the input 'Angelo': 16,405 millis.</li>
9191
* </ol>
@@ -98,7 +98,7 @@
9898
* <ol>
9999
* <li>Time for encoding 80,000 times the input 'Angelo': 13,133 millis.</li>
100100
* <li>Time for encoding 80,000 times the input 'Angelo': 13,064 millis.</li>
101-
* <li>Time for encoding 80,000 times the input 'Angelo': <b>12,838 millis.</b></li>
101+
* <li>Time for encoding 80,000 times the input 'Angelo': <strong>12,838 millis.</strong></li>
102102
* <li>Time for encoding 80,000 times the input 'Angelo': 12,970 millis.</li>
103103
* <li>Time for encoding 80,000 times the input 'Angelo': 13,122 millis.</li>
104104
* <li>Time for encoding 80,000 times the input 'Angelo': 13,293 millis.</li>
@@ -110,7 +110,7 @@
110110
* <li>Time for encoding 80,000 times the input 'Angelo': 11,576 millis.</li>
111111
* <li>Time for encoding 80,000 times the input 'Angelo': 11,506 millis.</li>
112112
* <li>Time for encoding 80,000 times the input 'Angelo': 11,361 millis.</li>
113-
* <li>Time for encoding 80,000 times the input 'Angelo': <b>11,142 millis.</b></li>
113+
* <li>Time for encoding 80,000 times the input 'Angelo': <strong>11,142 millis.</strong></li>
114114
* <li>Time for encoding 80,000 times the input 'Angelo': 11,430 millis.</li>
115115
* <li>Time for encoding 80,000 times the input 'Angelo': 11,297 millis.</li>
116116
* </ol>

0 commit comments

Comments
 (0)