Bug 43213 - CommitWorkingCopyOperation: Unnecessary setting of content
Summary: CommitWorkingCopyOperation: Unnecessary setting of content
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 M4   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-17 08:49 EDT by Martin Aeschlimann CLA
Modified: 2003-10-14 10:31 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2003-09-17 08:49:50 EDT
20020917


line 94 should check if the buffer isn't the same: In the case of saving a 
primary working copy, the buffer from the original is identical to the buffer 
of the working copy
if (workingCopyBuffer != primaryBuffer) {
  primaryBuffer.setContents(workingCopyBuffer.getCharacters());
}
Comment 1 Jerome Lanneluc CLA 2003-09-26 09:20:12 EDT
Fixed
Comment 2 David Audel CLA 2003-10-14 10:31:43 EDT
Verified.