Hello!
I have stumbled on a annoying problem with MyEclipse when copy paste a line of code containing a reference to a private static class.
Lets say i have this code in a simple main args java class:
private static class Global{
static final String ISSUE_YEAR = "2001";
}
And also another similar main args java class but with a different value in the parameter:
public class Mainargsclass {
....
private static class Global{
static final String ISSUE_YEAR = "2002";
}
....
}
Then, when copying another line of code from the first main args class, lets say:
if(Global.ISSUE_YEAR != null && !Global.ISSUE_YEAR.equals("")){
......
}
into the other main args class myeclipse is automatically generating a new import statement line in the class getting the new pasted code:
import my.own.package.Mainargsclass.Global;
And it generates an compilation error for the class getting the pasted code.
Any input on this issue would be great.
It is not critical, as long as i now of the problem i can remove the extra import statement manually.
Im currently using ME 8.6.
With Kind Regards
Anders