Update ExampleService.java

Avoid unused local variables such as 'a'.