Skip to content

Commit

Permalink
Don't initialize an instance variable to its default value
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Oct 27, 2023
1 parent f366c00 commit ec6e6c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/conf/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ limitations under the License.
</module>

<module name="TreeWalker">
<module name="ExplicitInitializationCheck" />
<module name="OperatorWrap">
<property name="option" value="eol" />
</module>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

// ------------------------------------------------------------------------
//
Expand Down

0 comments on commit ec6e6c7

Please sign in to comment.