do not insert initial method comments in delegate with default param value (IDEA-81106)

This commit is contained in:
anna
2012-02-09 12:49:39 +01:00
parent 45654bcffd
commit b13cd651dc
3 changed files with 27 additions and 7 deletions

View File

@@ -0,0 +1,13 @@
// "Generate delegated method with default parameter value" "true"
class Test {
int foo() {
return foo();
}
int foo(int ii){
//comment1
System.out.println("");
//comment2
return 1;
}
}

View File

@@ -0,0 +1,9 @@
// "Generate delegated method with default parameter value" "true"
class Test {
int foo(int i<caret>i){
//comment1
System.out.println("");
//comment2
return 1;
}
}