Update change-api-custom-operation.markdown

    int oldValue = (int)entry.getPathValue(path);
Does not compile.

And adding a missing ')'
Merge pull request #317 from yohanakh/patch-7

Update change-api-custom-operation.markdown