Skip to content

Commit

Permalink
Add Checkstyle ExplicitInitialization
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Dec 29, 2024
1 parent d6608c0 commit bfe3233
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/conf/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ limitations under the License.
<module name="EmptyBlock">
<property name="option" value="text" />
</module>
<!-- <module name="EqualsHashCode" /> -->
<module name="ExplicitInitializationCheck" />
<module name="FinalLocalVariable" />
<module name="IllegalImport" />
<module name="ImportOrder">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ static ExtraField fromBytes(final byte[] bytes) throws IOException {

private final List<SubField> subFields = new ArrayList<>();

private int totalSize = 0;
private int totalSize;

/**
* Constructs a new instance.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,11 @@
public final class Lister {

private static final class CommandLine {

String archive;
boolean useStream = false;
boolean useStream;
String encoding;
boolean allowStoredEntriesWithDataDescriptor = false;
boolean allowStoredEntriesWithDataDescriptor;
Path dir;
}

Expand Down

0 comments on commit bfe3233

Please sign in to comment.