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

Bug 361320

Summary: The generated content should be revised after Paul's language change
Product: z_Archived Reporter: fahua jin <jinfahua>
Component: EDTAssignee: Xiao Bin Chen <xiaobinc>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: chenzhh, xiaobinc
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch to add "?" to var definition. lasher: iplog+

Description fahua jin CLA 2011-10-18 21:40:05 EDT
Build Identifier: 0.7.0.v201110172101

Paul made some language changes, and the generated code by content assistant for service binding is not correct now. 

myService MyService {@Resource};

>>>>>>>>>>>>

myService MyService? {@Resource};

Reproducible: Always
Comment 1 Xiao Bin Chen CLA 2011-10-20 04:53:01 EDT
Created attachment 205594 [details]
patch to add "?" to var definition.
Comment 2 Xiao Bin Chen CLA 2011-10-20 21:52:41 EDT
fixed.
Comment 3 fahua jin CLA 2011-10-21 04:02:35 EDT
(In reply to comment #1)
> Created attachment 205594 [details]
> patch to add "?" to var definition.

Xiaobin, did u consider other cases that need to add question marks after key words?

Verified in 0.7.0.v201110192102. Now I close the defect, and re-open the defect if other cases are found...