Community
Participate
Working Groups
I20031007 In the case were a primary working copy gets discarded with no underlying resource the Java model delta reports a remove with details == 0. The details should be set to primary working copy to distinguish this from a "normal" remove. Corresponding a add should do the same.
Added F_PRIMARY_WORKING_COPY flag on primary working copy addition (becomeWorkingCopy()) and on primary working copy deletion (discardWorkingCopy ()) when there is no corresponding resource. Changed WorkingCopyOwnerTests.testDeltaBecomeWorkingCopy2() and testDeltaDiscardPrimaryWorkingCopy3() to reflect this change.
Verified.