Skip to content

Commit c024925

Browse files
committed
Add Checkstyle ArrayTypeStyle
1 parent 79d6b1d commit c024925

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/site/resources/checkstyle/checkstyle.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,6 @@ limitations under the License.
6161
<property name="separated" value="true"/>
6262
</module>
6363
<module name="MissingOverride"/>
64+
<module name="ArrayTypeStyle"/>
6465
</module>
6566
</module>

src/test/java/org/apache/commons/lang3/SystemUtilsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public void test_IS_OS() {
170170
assertFalse(SystemUtils.IS_OS_ANDROID);
171171
assertFalse(SystemUtils.IS_OS_WINDOWS);
172172
// @formatter:off
173-
final boolean macOsValues[] = {
173+
final boolean[] macOsValues = {
174174
SystemUtils.IS_OS_MAC_OSX_BIG_SUR,
175175
SystemUtils.IS_OS_MAC_OSX_CATALINA,
176176
SystemUtils.IS_OS_MAC_OSX_CHEETAH,

0 commit comments

Comments
 (0)