Update ExampleService.java

Avoid unused private methods such as 'nothing(int)'.