Bug 32937 - Kind not set for empty fine-grained delta
Summary: Kind not set for empty fine-grained delta
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 RC2   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-25 07:07 EST by Jerome Lanneluc CLA
Modified: 2003-03-10 10:39 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.