Add checkstyle indentation checks

This commit is contained in:
md_5 2020-01-24 14:07:42 +11:00
parent 24a53a671c
commit 70370faf5d
2 changed files with 4 additions and 0 deletions

View File

@ -80,6 +80,8 @@
<!-- See http://checkstyle.sourceforge.net/config_misc.html --> <!-- See http://checkstyle.sourceforge.net/config_misc.html -->
<module name="ArrayTypeStyle"/> <module name="ArrayTypeStyle"/>
<module name="CommentsIndentation"/>
<module name="Indentation"/>
<module name="UpperEll"/> <module name="UpperEll"/>
</module> </module>
</module> </module>

View File

@ -31,11 +31,13 @@ import net.md_5.bungee.netty.PipelineUtils;
import net.md_5.bungee.protocol.DefinedPacket; import net.md_5.bungee.protocol.DefinedPacket;
import net.md_5.bungee.protocol.packet.PluginMessage; import net.md_5.bungee.protocol.packet.PluginMessage;
// CHECKSTYLE:OFF
@RequiredArgsConstructor @RequiredArgsConstructor
@ToString(of = @ToString(of =
{ {
"name", "socketAddress", "restricted" "name", "socketAddress", "restricted"
}) })
// CHECKSTYLE:ON
public class BungeeServerInfo implements ServerInfo public class BungeeServerInfo implements ServerInfo
{ {