Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341746 - [formatter] typo in INodeModelFormatter.IFormattedRegion
Summary: [formatter] typo in INodeModelFormatter.IFormattedRegion
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.0.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: M7   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-04 04:41 EDT by Knut Wannheden CLA
Modified: 2011-04-04 08:42 EDT (History)
2 users (show)

See Also:
sven.efftinge: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Knut Wannheden CLA 2011-04-04 04:41:40 EDT
The interface INodeModelFormatter.IFormattedRegion declares a method getLenght(). The name should of course be getLength().
Comment 1 Moritz Eysholdt CLA 2011-04-04 05:14:10 EDT
I agree that it would be nice to get rid of this typo. However, since we've passed API-freeze, we would have to deprecate the misspelled method and introduce an extension-interface to declare a correctly spelled method. I'm not sure if that's worth the effort.
Comment 2 Sven Efftinge CLA 2011-04-04 08:26:26 EDT
We are still settling down API (till M7) and as we are almost sure that no-one ever used this interface we decided to fix the typo.
Comment 3 Moritz Eysholdt CLA 2011-04-04 08:42:26 EDT
fixed in HEAD.