Skip to content

Commit a6f7a53

Browse files
committed
Javadoc: Grammar
1 parent 335ff35 commit a6f7a53

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

  • src/main/java/org/apache/commons/codec/binary

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
* <b>Note: No padding is added when encoding using the URL-safe alphabet.</b>
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+
* <b>Note: No padding is added when encoding using the URL-safe alphabet.</b>
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+
* <b>Note: No padding is added.</b>
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+
* <b>Note: No padding is added.</b>
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+
* <b>Note: No padding is added when using the URL-safe alphabet.</b>
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+
* <b>Note: No padding is added when using the URL-safe alphabet.</b>
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><b>Note: No padding is added when encoding using the URL-safe alphabet.</b></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/

0 commit comments

Comments
 (0)