mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
replace constant duplicates (IDEA-43784)
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
public class Model {
|
||||
public static final Runnable FOO = new Runnable() {
|
||||
public void run() {
|
||||
System.out.println("abc");
|
||||
}
|
||||
};
|
||||
|
||||
public void foo() {
|
||||
FOO.run();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user