Bug 32937

Summary: Kind not set for empty fine-grained delta
Product: [Eclipse Project] JDT Reporter: Jerome Lanneluc <jerome_lanneluc>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1 RC2   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Jerome Lanneluc CLA 2003-02-25 07:07:05 EST
Build 2.1RC1

1. Turn javadelta tracing on
2. Create cu:
public class X {
}
3. Save it
4. Add comment:
public class X {
  // some comment
}
5. Save
Observe: The PRE_AUTO_BUILD delta has no kind set and F_CONTENT is not 
positined: X.java[?]: {FINE GRAINED}
where it should be: X.java[*]: {CONTENT | FINE GRAINED}
Comment 1 Jerome Lanneluc CLA 2003-02-25 09:15:22 EST
Fixed and added regression test JavaElementDeltaTests.testAddCommentAndCommit()
Comment 2 David Audel CLA 2003-03-10 10:39:37 EST
Verified.