mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
This commit is contained in:
+1
-1
@@ -126,7 +126,7 @@ public class GroovyNameSuggestionUtil {
|
||||
private static void generateNameByString(Set<String> possibleNames, String value, boolean forStaticVariable, Project project) {
|
||||
if (!JavaPsiFacade.getInstance(project).getNameHelper().isIdentifier(value)) return;
|
||||
if (forStaticVariable) {
|
||||
StringBuffer buffer = new StringBuffer(value.length() + 10);
|
||||
StringBuilder buffer = new StringBuilder(value.length() + 10);
|
||||
char[] chars = new char[value.length()];
|
||||
value.getChars(0, value.length(), chars, 0);
|
||||
boolean wasLow = Character.isLowerCase(chars[0]);
|
||||
|
||||
Reference in New Issue
Block a user