mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 13:02:30 +07:00
[java] (IDEA-227433) remove doc comment when Use existing implementation of method fix is applied + test added
GitOrigin-RevId: 742a0995a87056cfd71ae61c02fa280a02ea18d8
This commit is contained in:
committed by
intellij-monorepo-bot
parent
68e83ee982
commit
42615cdffd
@@ -0,0 +1,23 @@
|
||||
// "Use existing implementation of 'm'" "true"
|
||||
interface SampleInterface {
|
||||
/**
|
||||
* Specified in the interface
|
||||
*/
|
||||
public void m();
|
||||
}
|
||||
|
||||
class Test3 implements SampleInterface {
|
||||
public void m() {
|
||||
System.out.println("Test1 implementation");
|
||||
}
|
||||
}
|
||||
|
||||
class Test1 implements SampleInterface {
|
||||
/**
|
||||
* Test1 implementation
|
||||
*/
|
||||
@Override
|
||||
public void m() {
|
||||
System.out.println("Test1 implementation");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
// "Use existing implementation of 'm'" "true"
|
||||
interface SampleInterface {
|
||||
/**
|
||||
* Specified in the interface
|
||||
*/
|
||||
public void m<caret>();
|
||||
}
|
||||
|
||||
class Test3 implements SampleInterface {
|
||||
}
|
||||
|
||||
class Test1 implements SampleInterface {
|
||||
/**
|
||||
* Test1 implementation
|
||||
*/
|
||||
@Override
|
||||
public void m() {
|
||||
System.out.println("Test1 implementation");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user