Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336231 - [quick assist] "Invert conditions" not available for assert statement
Summary: [quick assist] "Invert conditions" not available for assert statement
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.7 M6   Edit
Assignee: Deepak Azad CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-03 09:28 EST by Deepak Azad CLA
Modified: 2011-03-07 12:43 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Deepak Azad CLA 2011-02-03 09:28:19 EST
HEAD

e.g.
--------------------------------------------------------
	void foobar() {
		String a = "";
		assert !(a instanceof String);
	}
--------------------------------------------------------

Fix to go in AdvancedQuickAssistProcessor.getBooleanExpression(ASTNode)
Comment 1 Deepak Azad CLA 2011-02-03 09:50:19 EST
Fixed in HEAD.
Comment 2 Raksha Vasisht CLA 2011-03-07 12:43:59 EST
Verified for 3.6 M6 with  N20110305-2000.