Update ExampleService.java


Avoid the use of unnecessary return statements.