Skip to content

Commit

Permalink
Don't initialize an instance or static 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 03da9f8 commit 624246a
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/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ limitations under the License.
<property name="fileExtensions" value="java,xml"/>
</module>
<module name="TreeWalker">
<module name="ExplicitInitializationCheck" />
<module name="AvoidStarImport"/>
<module name="RedundantImport"/>
<module name="UnusedImports"/>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/apache/commons/crypto/Crypto.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ private static Properties getComponentProperties() {
*/
public static final String LIB_TEMPDIR_KEY = Crypto.CONF_PREFIX + "lib.tempdir";

private static boolean quiet = false;
private static boolean quiet;

/**
* Gets the component version of Apache Commons Crypto.
Expand Down

0 comments on commit 624246a

Please sign in to comment.