how does Java think here?
I have code:
Speciality[] spObjects = sp.getAll();
It's ok when I import core.Speciality
But when I import core.* it says:
found: core.Speciality[]
required: GUI.Elements.Speciality[]
Speciality[] spO = sp.getAll();
1 error
BUILD FAILED (total time: 1 second)
Speciality[] spObjects = sp.getAll(); is in class MyComboBoxModelSpeciality which is in package GUI.Elements
So what gives? * doesn't work some times?

