Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » organize imports and inner types
organize imports and inner types [message #731497] Sat, 01 October 2011 12:30 Go to next message
Dmitri Bichko is currently offline Dmitri BichkoFriend
Messages: 1
Registered: October 2011
Junior Member
Hi,

I'm upgrading to Indigo from Galileo, and noticed that imports of inner types (non-static) are not being collapsed to '*' by "organize imports". I have "Number of imports needed" set to '1', and it seems to behave correctly for package imports.

So if I have:

package com.package;
public class Foo {
    public class Bar {}
    public class Baz {}
}


And elsewhere:

  

  import com.package.Foo.Bar;
  import com.package.Foo.Baz;

  ...


The imports are not collapsed, in fact, if I do 'import com.package.Foo.*' it's expanded into the individual imports.

This worked fine in Galileo. Is this intentional or is it a bug?
Re: organize imports and inner types [message #731800 is a reply to message #731497] Mon, 03 October 2011 06:41 Go to previous message
Satyam Kandula is currently offline Satyam KandulaFriend
Messages: 444
Registered: July 2009
Senior Member
It looks like a regression to me caused probably by the fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=303776. Please file a bug.
Previous Topic:How do I integrate Eclipse with Sourceforge bug trackers?
Next Topic:parsing function calls
Goto Forum:
  


Current Time: Fri Mar 29 13:04:27 GMT 2024

Powered by FUDForum. Page generated in 0.02388 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top