Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366370 - [Xtend] quick fix for implementing abstract methods produces ugly code
Summary: [Xtend] quick fix for implementing abstract methods produces ugly code
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.2.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: M5   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-12 05:27 EST by Sven Efftinge CLA
Modified: 2017-09-19 17:58 EDT (History)
0 users

See Also:
sven.efftinge: juno+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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