Bug 10662

Summary: Casting to Buffer makes it impossible for clients to implement IBuffer
Product: [Eclipse Project] JDT Reporter: Jerome Lanneluc <jerome_lanneluc>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M4   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Jerome Lanneluc CLA 2002-03-04 04:57:59 EST
Build 20020228

Several places in JDT/Core cast an IBuffer to Buffer. This makes it impossible 
for clients to implement IBuffer.
Comment 1 Jerome Lanneluc CLA 2002-03-04 05:03:29 EST
This casting was done to convert the line separators in the new contents to the 
line separators of the buffer.

Now doing the conversion outside Buffer (i.e. in the operations that used this 
conversion like CreateElementsInCUOperation).