Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 341746

Summary: [formatter] typo in INodeModelFormatter.IFormattedRegion
Product: [Modeling] TMF Reporter: Knut Wannheden <knut.wannheden>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: moritz.eysholdt, sven.efftinge
Version: 2.0.0Flags: sven.efftinge: indigo+
Target Milestone: M7   
Hardware: All   
OS: All   
Whiteboard:

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.