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

Bug 366370

Summary: [Xtend] quick fix for implementing abstract methods produces ugly code
Product: [Modeling] TMF Reporter: Sven Efftinge <sven.efftinge>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 Flags: sven.efftinge: juno+
Version: 2.2.0   
Target Milestone: M5   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Sven Efftinge CLA 2011-12-12 05:27:51 EST
Applying the quick fix for unimplemented abstract methods produces badly formatted code:

class MyDslGenerator implements IGenerator, Comparable {
	
override doGenerate(Resource input, IFileSystemAccess fsa) {
	throw new UnsupportedOperationException("Auto-generated function stub")
}override compareTo(Object o) {
	throw new UnsupportedOperationException("Auto-generated function stub")
}}
Comment 1 Sven Efftinge CLA 2011-12-12 05:43:10 EST
pushed to master
Comment 2 Karsten Thoms CLA 2017-09-19 17:47:39 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:58:48 EDT
Closing all bugs that were set to RESOLVED before Neon.0