IsraelAbebe / jmonkeyengine

Automatically exported from code.google.com/p/jmonkeyengine
0 stars 0 forks source link

refactor copying a class results in duplicated imports #534

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Bug of low priority but it's definitely annoying: If I refactor copy a class 
using the jME JDK beta version and save it, next time I open it the imports 
will sometimes be duplicated (or at least that's the point when I usually 
notice it). It seems to be only happening if the imports feature self-made 
classes with other com.jme3 imports. Unfortunately I don't have a screenshot 
but I'll try to demonstrate it. If the bug occurs my class headers sometimes 
look like this:

package mypackage;

import mypackage.CustomClass;
import data.AnotherClass;
import mypackage.CustomizedClass;
import mypackage.CustomClass;
import data.AnotherClass;
import mypackage.CustomizedClass;
import mypackage.CustomClass;
import data.AnotherClass;
import mypackage.CustomizedClass;

...repeat for about 10x times. Seems to be as if it got stuck in a loop when 
creating them, and it generates quite a bunch of these duplications. 

Original issue reported on code.google.com by leliheli...@gmail.com on 2 Sep 2012 at 5:32

GoogleCodeExporter commented 8 years ago
This is a NetBeans bug, nothing we can do.

Original comment by normen667 on 5 Sep 2012 at 2:06

GoogleCodeExporter commented 8 years ago
Oh alrighty, thought it was an issue with jMe.

Original comment by leliheli...@gmail.com on 5 Sep 2012 at 10:44