safe delete method parameter: change method signature in javadoc accordingly (IDEA-57032)

This commit is contained in:
anna
2010-08-05 15:54:25 +04:00
parent a84d5b2037
commit ba842af30e
5 changed files with 60 additions and 7 deletions
@@ -0,0 +1,8 @@
class Super {
void m1(String p2) {}
/**
* @see #m1( String)
*/
void m2() {}
}
@@ -0,0 +1,8 @@
class Super {
void m1(String p<caret>1, String p2) {}
/**
* @see #m1(String, String)
*/
void m2() {}
}
@@ -61,6 +61,11 @@ public class SafeDeleteTest extends MultiFileTestCase {
doTest("B");
}
public void testJavadocParamRef() throws Exception {
myDoCompare = false;
doTest("Super");
}
public void testEnumConstructorParameter() throws Exception {
myDoCompare = false;
doTest("UserFlags");