bug: refactoring / moving last class from package

Hi.

I just refactored a project, moving all classes from one package to others.

When I removed the last class from that package, the package stopped existing. Still, it was mentioned in import statements of other classes. So after refactoring, project did not compile anymore.

I could easily fix it by using the "optimize imports" function.

Traugott

(using intellij 3.0 build #676)

1 comment
Comment actions Permalink

Traugott,
please submit a bug report to tracker:
http://www.intellij.net/tracker

Friendly,
Dmitry

Traugott Dittmann wrote:

Hi.

I just refactored a project, moving all classes from one package to
others.

When I removed the last class from that package, the package stopped
existing. Still, it was mentioned in import statements of other classes.
So after refactoring, project did not compile anymore.

I could easily fix it by using the "optimize imports" function.

Traugott

(using intellij 3.0 build #676)


--
Dmitry Lomov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.