Update ExampleService.java

Parameter 'x' is not assigned and could be declared final