J2K: default parameter values generated for secondary constructors too

This commit is contained in:
Valentin Kipyatkov
2015-04-07 22:13:05 +03:00
parent 9b80d49bab
commit 3efc6cd383
6 changed files with 119 additions and 47 deletions
@@ -0,0 +1,16 @@
class A {
private String s = "";
private int x = 0;
public A(){
}
public A(int p, String s){
this(p, s, 1);
}
public A(int p, String s, int x){
this.s = s;
this.x = x;
}
}