Bug 27993 - Incorrect structure comparison
Summary: Incorrect structure comparison
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: 2.1 M4   Edit
Assignee: Andre Weinand CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-09 21:03 EST by Nick Edgar CLA
Modified: 2002-12-10 03:39 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Edgar CLA 2002-12-09 21:03:22 EST
build N20021209

- compared v1.6 and v1.7 of PreferencePage.java (in 
org.eclipse.jface.preference)
- the actual changes were just some changes to the Javadoc of two methods
- the diff (in both Sync and comparing the two revisions in the resource 
history) showed:
Compilation Unit
  PreferencePage
    preferenceStore
      isValid
        body
          createDefaultAndApplyButton
            defaultsButton
              container
                applyButton
                  descriptionLabel
                    size
                      getApplyButton()
                      getDefaultsButton()
Comment 1 Nick Edgar CLA 2002-12-09 21:05:35 EST
The extra bits above were all the fields declared in that class, even though 
there were no changes to them.  Somehow they got nested.
Comment 2 Nick Edgar CLA 2002-12-09 21:10:19 EST
Problem is not specific to this file.  Any compare I do has this problem.
Might be a problem in the Java parser too.
Comment 3 Andre Weinand CLA 2002-12-10 03:38:44 EST
Consequence of #5295.
Comment 4 Andre Weinand CLA 2002-12-10 03:39:48 EST
Fixed and released for I20021210