Bug 48461 - "Organize import" deletes text sandwiched between import statements [code manipulation]
Summary: "Organize import" deletes text sandwiched between import statements [code man...
Status: VERIFIED DUPLICATE of bug 24804
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.8 M2   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-11 02:40 EST by avid_grasshopper CLA
Modified: 2011-09-13 05:16 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 avid_grasshopper CLA 2003-12-11 02:40:26 EST
The easiest way to describe this bug is by asking you to reproduce it, I guess.
Please paste this into a java file, and do an organize import. Note that the
comment will be gone after eclipse's done reorganizing the imports.

<code_snippet>
package com.acme.ames.activision.rule;

import java.util.Hashtable;

import com.acme.common.log.*
import com.acme.be.exception.*
import com.acme.be.rule.*;

import com.acme.common.*;

/**
 *
 * <p> Title: Rule.java</p>
 *
 * @author Blah
 *
 * @version 1.0
 */
import com.acme.my.BizEvent;

import java.util.Map;

public class Rule
{
}
</code_snippet>
Comment 1 Dirk Baeumer CLA 2003-12-11 11:18:12 EST

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