I have a class that looks like this:
public final class OrderedSetList<T extends Comparable<? super T>> implements OrderedSet<T> {
// Constructor definition in wrong order checkstyle error next line
public OrderedSetList() {
// Initializations
}
}
Can anyone tell me why there is a "Constructor definition in wrong order" error in my constructor?
It's an assignment and we have our own checkstyle configs and any checkstyle error is not allowed.
I appreciated your help.