RC1: Regression in generate constructor?
When superclass has one non-default constructor Alt+Ins Create Constructor
created constructor with weird paremeter names:
superclass:
public abstract class AdapterImpl implements Adapter {
private final Class subjectClass;
private final AdapterMatcher matcher;
protected AdapterImpl(Class subjectClass, AdapterMatcher matcher) {
this.subjectClass = subjectClass;
this.matcher = matcher;
}
....
}
subclass with Alt+Ins generated constructor (same with intension)
public class SubNodesAdapter extends AdapterImpl {
private final List> groups = new
ArrayList>();
public SubNodesAdapter(Class subjectClass, AdapterMatcher]]>
tAdapterMatcher) {
super(subjectClass, tAdapterMatcher);
}
}
note subjectClass parameter is generated as expected while tAdapterMatcher
is generated instead of matcher
Please sign in to leave a comment.