IDEA-88407 Extract constant refactoring doesn't use camel humps for generating name of the new constant

This commit is contained in:
Kirill Safonov
2012-07-18 14:43:36 +04:00
parent 0b36c1fa61
commit 8648f378db
@@ -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);
}