Update ExampleService.java

Local variable 'iterator' could be declared final