consider local variables with or without final modifier equal in duplicates finder

This commit is contained in:
Bas Leijdekkers
2016-06-23 14:51:18 +02:00
parent a02562cadb
commit 78b84acd0f
8 changed files with 144 additions and 0 deletions
@@ -0,0 +1,20 @@
class Test10 {
void test() {
newMethod();
newMethod();
}
private void newMethod() {
new Super() {
int get() {
return 0;
}
};
}
}
class Super {
int get() {
return 1;
}
}