Update ExampleService.java

Avoid unnecessary return statements