replace method duplicates: qualified/unqualified static access ( IDEA-23412 )

This commit is contained in:
anna
2010-05-31 18:40:02 +04:00
parent 40d73b7c32
commit 3f3d8329ed
6 changed files with 92 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
public class aa {
public static boolean isVisualUpdate(int update_type) {
return a.blabla(update_type);
}
}
interface Iaaa {
int FULL_QUOTE_VISUAL = 0;
}
class a implements Iaaa {
int update_type = 8;
public static boolean blabla(int update_type) {
return update_type <= FULL_QUOTE_VISUAL;
}
}