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

Bug 478245

Summary: Do not add a semicolon if there is already one existing
Product: [Eclipse Project] JDT Reporter: Pascal Rapicault <pascal>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: noopur_gupta
Version: 4.6   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Pascal Rapicault CLA 2015-09-23 20:50:15 EDT
I have the following line of code
  import static org.eclipse.egerrit.ui.tests.InputData.deletion|;

When I hit complete at where the | is located, then I get the following line
  import static org.eclipse.egerrit.ui.tests.InputData.deletion;;
Comment 1 Pascal Rapicault CLA 2015-09-23 20:51:08 EDT
I would expect JDT to figure out that there is already a semi-colon and to not add another one.
Comment 2 Noopur Gupta CLA 2015-09-24 09:08:49 EDT

*** This bug has been marked as a duplicate of bug 392897 ***