From 0289c78e8df1827c9fe04aca15d098e876abfdfe Mon Sep 17 00:00:00 2001 From: Arturo Bernal Date: Sat, 6 Nov 2021 08:13:55 +0100 Subject: [PATCH] Use {@code } instead . --- .../hc/client5/http/entity/mime/HttpRFC7578Multipart.java | 2 +- .../org/apache/hc/client5/http/impl/auth/DigestScheme.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/entity/mime/HttpRFC7578Multipart.java b/httpclient5/src/main/java/org/apache/hc/client5/http/entity/mime/HttpRFC7578Multipart.java index d5eda20c1..485605783 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/entity/mime/HttpRFC7578Multipart.java +++ b/httpclient5/src/main/java/org/apache/hc/client5/http/entity/mime/HttpRFC7578Multipart.java @@ -157,7 +157,7 @@ public byte[] decode(final byte[] bytes) throws DecoderException { private static final int RADIX = 16; /** - * Returns the numeric value of the character b in radix 16. + * Returns the numeric value of the character {@code b} in radix 16. * * @param b * The byte to be converted. diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/DigestScheme.java b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/DigestScheme.java index 812eaeeec..f1b6a52b6 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/DigestScheme.java +++ b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/DigestScheme.java @@ -443,10 +443,10 @@ String getA2() { /** * Encodes the 128 bit (16 bytes) MD5 digest into a 32 characters long - * String according to RFC 2617. + * {@code String} according to RFC 2617. * * @param binaryData array containing the digest - * @return encoded MD5, or null if encoding failed + * @return encoded MD5, or {@code null} if encoding failed */ static String formatHex(final byte[] binaryData) { final int n = binaryData.length;