I have the following class which extends JFrame
@SuppressWarnings("serial")
public class View extends JFrame{
//bla bla bla bla code
}
Now I have the following sub class:
public class Foo extends View{
//bla bla bla bla
}
In the View
class Eclipse is giving me a warning so I added SuppressWarnings to get rid of it.I thought that by doing this I wouldn't have to retype SuppressWarnings in the Foo class but as it seems eclipse is giving me a warning on Foo class.Should this be happening?