Skip to content

Commit ec6e6c7

Browse files
committed
Don't initialize an instance variable to its default value
1 parent f366c00 commit ec6e6c7

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/conf/checkstyle.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ limitations under the License.
6060
</module>
6161

6262
<module name="TreeWalker">
63+
<module name="ExplicitInitializationCheck" />
6364
<module name="OperatorWrap">
6465
<property name="option" value="eol" />
6566
</module>

src/test/java/org/apache/commons/codec/binary/BinaryCodecTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public class BinaryCodecTest {
6161
private static final int BIT_7 = 0x80;
6262

6363
/** An instance of the binary codec. */
64-
BinaryCodec instance = null;
64+
BinaryCodec instance;
6565

6666
// ------------------------------------------------------------------------
6767
//

0 commit comments

Comments
 (0)