[#48] Fixed checkstyle errors in the InputService and ViewService components, as well as the examples.