[#48] Fixed checkstyle errors in part of InputService component.