Community
Participate
Working Groups
Currently, delta kind values defined in IElementDeltaConstants (ADDED, REMOVED, CHANGED) cannot be used in a bit mask operation. Although there is no pressing need for that now, this would make it impossible to define APIs like getAffectedChildren(int kindMask) when/if such need arises. I think it would be safer to follow the pattern set by IResourceDelta and its values for ADDED, REMOVED, CHANGED, which can be combined in a bit mask. Practically, this means that we should change the CHANGED constant value from 3 to 4. Formally, this is a breaking change, but despite being very late in the cycle, I think it would be better to do it before 1.0 is released, since the impact on existing clients is expected to be low (given that the change breaks binary compatibility but does not break source compatibility).
Pushed to master: http://git.eclipse.org/c/handly/org.eclipse.handly.git/commit/?id=4ad356d8214a06d86b44bb9eb3640e45ac73e170 I have updated the migration guide: https://wiki.eclipse.org/Handly/Migration/1.0.