make method not static suggested as intention for unknown method

public static void main() {
Vector v = new Vector();

alt-enter on doTheNewMethod suggests "make main not static"
(sure, because you cannot create the method in Vector)

1 comment
Comment actions Permalink

I have such useless suggestions in other situations as well, but was too
lazy to invest half an hour to create a small example...



Please sign in to leave a comment.