If you check the documentation of getAffectedChildren(), sending in a mask value of ADDED | CHANGED | REMOVED essentially makes a  call to getAffectedChildren() and getAffectedChildren(int) identical. Perhaps your intent was to make this more explicit to people reading the code?