You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2020/08/27 23:19:01 UTC

[commons-codec] 01/08: Add missing @since 1.15 tags

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

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-codec.git

commit fab180b25ed319261de0024cd1a736af284d039c
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Thu Aug 27 21:52:02 2020 +0100

    Add missing @since 1.15 tags
---
 src/main/java/org/apache/commons/codec/binary/Base32.java     | 2 +-
 src/main/java/org/apache/commons/codec/binary/BaseNCodec.java | 1 +
 src/main/java/org/apache/commons/codec/binary/Hex.java        | 1 -
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/commons/codec/binary/Base32.java b/src/main/java/org/apache/commons/codec/binary/Base32.java
index cae0b37..a165791 100644
--- a/src/main/java/org/apache/commons/codec/binary/Base32.java
+++ b/src/main/java/org/apache/commons/codec/binary/Base32.java
@@ -311,6 +311,7 @@ public class Base32 extends BaseNCodec {
      * @throws IllegalArgumentException
      *             Thrown when the {@code lineSeparator} contains Base32 characters. Or the
      *             lineLength &gt; 0 and lineSeparator is null.
+     * @since 1.15
      */
     public Base32(final int lineLength, final byte[] lineSeparator, final boolean useHex, final byte padding, CodecPolicy decodingPolicy) {
         super(BYTES_PER_UNENCODED_BLOCK, BYTES_PER_ENCODED_BLOCK, lineLength,
@@ -365,7 +366,6 @@ public class Base32 extends BaseNCodec {
      * @param inPos Position to start reading data from.
      * @param inAvail Amount of bytes available from input for decoding.
      * @param context the context to be used
-     *
      */
     @Override
     void decode(final byte[] input, int inPos, final int inAvail, final Context context) {
diff --git a/src/main/java/org/apache/commons/codec/binary/BaseNCodec.java b/src/main/java/org/apache/commons/codec/binary/BaseNCodec.java
index 33f9916..5819405 100644
--- a/src/main/java/org/apache/commons/codec/binary/BaseNCodec.java
+++ b/src/main/java/org/apache/commons/codec/binary/BaseNCodec.java
@@ -182,6 +182,7 @@ public abstract class BaseNCodec implements BinaryEncoder, BinaryDecoder {
 
     /**
      * The default decoding policy.
+     * @since 1.15
      */
     protected static final CodecPolicy DECODING_POLICY_DEFAULT = CodecPolicy.LENIENT;
 
diff --git a/src/main/java/org/apache/commons/codec/binary/Hex.java b/src/main/java/org/apache/commons/codec/binary/Hex.java
index 07e4b7e..bc939ad 100644
--- a/src/main/java/org/apache/commons/codec/binary/Hex.java
+++ b/src/main/java/org/apache/commons/codec/binary/Hex.java
@@ -88,7 +88,6 @@ public class Hex implements BinaryEncoder, BinaryDecoder {
      * @param outOffset The position within {@code out} to start writing the decoded bytes.
      * @return the number of bytes written to {@code out}.
      * @throws DecoderException Thrown if an odd number of characters or illegal characters are supplied
-     *
      * @since 1.15
      */
     public static int decodeHex(final char[] data, final byte[] out, final int outOffset) throws DecoderException {