This repository was archived by the owner on Dec 1, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
src/main/java/net/javadiscord/javabot2/config Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 22<!DOCTYPE module PUBLIC
33 "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
44 "https://checkstyle.org/dtds/configuration_1_3.dtd">
5+ <!--
6+ This document defines the code style checks that are performed on source code
7+ in this repository. This ensures a uniform style and minimum code quality.
8+ See https://checkstyle.org/ for more information.
9+ -->
510<module name =" Checker" >
611 <module name =" TreeWalker" >
712 <property name =" fileExtensions" value =" java" />
8085 <module name =" MethodLength" >
8186 <property name =" max" value =" 50" />
8287 </module >
88+ <module name =" MissingOverride" />
89+ <module name =" EmptyForInitializerPad" />
90+ <module name =" EmptyForIteratorPad" />
91+ <module name =" EmptyLineSeparator" >
92+ <property name =" allowNoEmptyLineBetweenFields" value =" true" />
93+ </module >
94+ <module name =" GenericWhitespace" />
95+ <module name =" MethodParamPad" />
96+ <module name =" TypecastParenPad" />
8397 </module >
8498</module >
Original file line number Diff line number Diff line change 1717@ Slf4j
1818public class ReflectionUtils {
1919 private static final Map <Class <?>, Function <String , Object >> propertyTypeParsers = new HashMap <>();
20+
2021 static {
2122 propertyTypeParsers .put (Integer .class , Integer ::parseInt );
2223 propertyTypeParsers .put (int .class , Integer ::parseInt );
You can’t perform that action at this time.
0 commit comments