mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-88407 Extract constant refactoring doesn't use camel humps for generating name of the new constant
This commit is contained in:
@@ -76,7 +76,9 @@ public class NameUtil {
|
||||
index++;
|
||||
}
|
||||
String word = name.substring(wordStart, index);
|
||||
array.add(word);
|
||||
if (!StringUtil.isEmptyOrSpaces(word)) {
|
||||
array.add(word);
|
||||
}
|
||||
}
|
||||
return ArrayUtil.toStringArray(array);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user