Bug 548553 - Fails to Extract Local Variable with trailing semi colon
Summary: Fails to Extract Local Variable with trailing semi colon
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.13   Edit
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-23 05:59 EDT by Ori Marko CLA
Modified: 2019-08-07 02:48 EDT (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 Ori Marko CLA 2019-06-23 05:59:23 EDT

    
Comment 1 Ori Marko CLA 2019-06-23 06:01:45 EDT Comment hidden (obsolete)
Comment 2 Ori Marko CLA 2019-06-23 06:01:58 EDT
Eclipse fails to Extract Local Variable when text is ends with semi colon (;) is also marked


For example when trying to refactor the whole code in line:

`ps.executeUpdate() > 0;`

trailing semicolon should be ignored in this case
Comment 3 Jay Arthanareeswaran CLA 2019-08-07 02:48:11 EDT
Moving to UI