Yuta HIGUCHI

checkstyle fixes

Change-Id: Ida02536e61f61b8883810866d28bdaad206f645d
...@@ -28,11 +28,15 @@ public class DefaultEventSinkRegistryTest { ...@@ -28,11 +28,15 @@ public class DefaultEventSinkRegistryTest {
28 private DefaultEventSinkRegistry registry; 28 private DefaultEventSinkRegistry registry;
29 29
30 private static class FooEvent extends TestEvent { 30 private static class FooEvent extends TestEvent {
31 - public FooEvent(String subject) { super(Type.FOO, subject); } 31 + public FooEvent(String subject) {
32 + super(Type.FOO, subject);
33 + }
32 } 34 }
33 35
34 private static class BarEvent extends TestEvent { 36 private static class BarEvent extends TestEvent {
35 - public BarEvent(String subject) { super(Type.BAR, subject); } 37 + public BarEvent(String subject) {
38 + super(Type.BAR, subject);
39 + }
36 } 40 }
37 41
38 private static class FooSink implements EventSink<FooEvent> { 42 private static class FooSink implements EventSink<FooEvent> {
......
...@@ -50,7 +50,7 @@ public class MessageDecoder extends ReplayingDecoder<DecoderState> { ...@@ -50,7 +50,7 @@ public class MessageDecoder extends ReplayingDecoder<DecoderState> {
50 ByteBuf buffer, 50 ByteBuf buffer,
51 List<Object> out) throws Exception { 51 List<Object> out) throws Exception {
52 52
53 - switch(state()) { 53 + switch (state()) {
54 case READ_HEADER_VERSION: 54 case READ_HEADER_VERSION:
55 int headerVersion = buffer.readInt(); 55 int headerVersion = buffer.readInt();
56 checkState(headerVersion == MessageEncoder.HEADER_VERSION, "Unexpected header version"); 56 checkState(headerVersion == MessageEncoder.HEADER_VERSION, "Unexpected header version");
......