Bug 3772 - Organize import deletes comments (1GESK9E) [code manipulation]
Summary: Organize import deletes comments (1GESK9E) [code manipulation]
Status: VERIFIED DUPLICATE of bug 24804
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: All Windows NT
: P4 major (vote)
Target Milestone: 3.8 M2   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 23:00 EDT by Erich Gamma CLA
Modified: 2011-09-13 05:19 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erich Gamma CLA 2001-10-10 23:00:37 EDT
1) create a project
2) create a package called test
3) create the following class


package test;

import java.util.*;
/**
 *
 */
import java.net.*;

public class Class1 {
	List list;
	URL url;

}


4) right click, organize import

the comment is gone

NOTES:
EG (6/4/2001 5:44:52 AM)
	problem exists. preserving comments is non-trivial and it is rare to have
	comments between imports.
	moving to inactive
Comment 1 Martin Aeschlimann CLA 2001-10-16 11:14:02 EDT
moved to 'active'
Comment 2 DJ Houghton CLA 2001-10-24 07:19:44 EDT
PRODUCT VERSION:
118 NT

Comment 3 Erich Gamma CLA 2001-11-10 16:22:32 EST
still a problem.
Comment 4 Dirk Baeumer CLA 2003-04-28 06:02:22 EDT
Chaning state from assigned later to resolved later. Assigned later got 
introduced by the last bug conversion and is not a supported Eclipse bug state.
Comment 5 Dani Megert CLA 2009-02-05 02:33:29 EST

*** This bug has been marked as a duplicate of bug 24804 ***
Comment 6 Satyam Kandula CLA 2011-09-13 05:19:33 EDT
Verified for 3.8M2 using build I20110912-0800