Bug 306073 - ASTRewrite Javadoc wrongly talks about getTargetSourceRangeComputer
Summary: ASTRewrite Javadoc wrongly talks about getTargetSourceRangeComputer
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 trivial (vote)
Target Milestone: 3.6 M7   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-16 15:30 EDT by Markus Keller CLA
Modified: 2010-04-26 12:29 EDT (History)
1 user (show)

See Also:


Attachments
Proposed fix (2.62 KB, patch)
2010-03-16 18:03 EDT, Olivier Thomann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2010-03-16 15:30:52 EDT
The source of class ASTRewrite wrongly talks about getTargetSourceRangeComputer() in 3 places. Should be getExtendedSourceRangeComputer().

It would also make sense to add @see tags to the getter and the setter to make it clear that they operate on the same property in spite of their divergent names.
Comment 1 Olivier Thomann CLA 2010-03-16 18:03:59 EDT
Created attachment 162219 [details]
Proposed fix
Comment 2 Olivier Thomann CLA 2010-03-17 12:17:21 EDT
Released for 3.6M7.
Comment 3 Frederic Fusier CLA 2010-04-26 12:29:11 EDT
Verified for 3.6M7 using v_A48 code.