> > No, the fields are protected, and the class is private, which is what is > > generating the warning. If the class were protected as well as the > fields, > > all would be well :) > Moving the fields to private solve the warning, without changing the class, > Ok ? > Or do you think it's better to change the class to protected ? >
Either way, but you're probably right -- let's make the fields private since subclasses shouldn't need to paint the sort indicator images.
