Fix some source code formatting
This commit is contained in:
parent
6b88b63941
commit
9b2bb07d89
@ -5,6 +5,7 @@ import org.junit.Test;
|
||||
|
||||
public class DefaultConfigurationTest
|
||||
{
|
||||
|
||||
@Test
|
||||
public void testDefaultValues()
|
||||
{
|
||||
|
@ -289,7 +289,8 @@ public enum Protocol
|
||||
}
|
||||
|
||||
@RequiredArgsConstructor
|
||||
private static class ProtocolData {
|
||||
private static class ProtocolData
|
||||
{
|
||||
|
||||
private final int protocolVersion;
|
||||
private final TObjectIntMap<Class<? extends DefinedPacket>> packetMap = new TObjectIntHashMap<>( MAX_PACKET_ID );
|
||||
@ -297,12 +298,16 @@ public enum Protocol
|
||||
}
|
||||
|
||||
@RequiredArgsConstructor
|
||||
private static class ProtocolMapping {
|
||||
private static class ProtocolMapping
|
||||
{
|
||||
|
||||
private final int protocolVersion;
|
||||
private final int packetID;
|
||||
}
|
||||
|
||||
// Helper method
|
||||
private static ProtocolMapping map(int protocol, int id) {
|
||||
private static ProtocolMapping map(int protocol, int id)
|
||||
{
|
||||
return new ProtocolMapping( protocol, id );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user