mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
create constant from usage: set static/final before insert field in order to get correct anchor (IDEA-100867)
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
// "Create Constant Field 'SOME_REGEXP'" "true"
|
||||
class IntroduceConstant {
|
||||
private static final String SOME_REGEXP = ;
|
||||
private static final String SOME_PATTERN = SOME_REGEXP;
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// "Create Constant Field 'SOME_REGEXP'" "true"
|
||||
class IntroduceConstant {
|
||||
private static final String SOME_PATTERN = SOME_RE<caret>GEXP;
|
||||
}
|
||||
Reference in New Issue
Block a user