Update ExampleService.java

Local variable 'a' could be declared final