From ec6e6c75e972f4f13b93fed84323272a5d5f40af Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Fri, 27 Oct 2023 09:31:30 -0400 Subject: [PATCH] Don't initialize an instance variable to its default value --- src/conf/checkstyle.xml | 1 + .../java/org/apache/commons/codec/binary/BinaryCodecTest.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/conf/checkstyle.xml b/src/conf/checkstyle.xml index 0245a7e138..79ac8b948d 100644 --- a/src/conf/checkstyle.xml +++ b/src/conf/checkstyle.xml @@ -60,6 +60,7 @@ limitations under the License. + diff --git a/src/test/java/org/apache/commons/codec/binary/BinaryCodecTest.java b/src/test/java/org/apache/commons/codec/binary/BinaryCodecTest.java index 1129cdc825..d0187cf1d8 100644 --- a/src/test/java/org/apache/commons/codec/binary/BinaryCodecTest.java +++ b/src/test/java/org/apache/commons/codec/binary/BinaryCodecTest.java @@ -61,7 +61,7 @@ public class BinaryCodecTest { private static final int BIT_7 = 0x80; /** An instance of the binary codec. */ - BinaryCodec instance = null; + BinaryCodec instance; // ------------------------------------------------------------------------ //