Skip to content

Commit 97e18b4

Browse files
committed
убрал верхний регистр
1 parent 207c08c commit 97e18b4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/TypoDiagnostic.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,7 @@ private Set<String> makeWordsToIgnore() {
137137
// добавим к переданным строки в разных регистрах
138138
if (caseInsensitive && !exceptions.isEmpty()) {
139139
exceptions +=
140-
delimiter + exceptions.toLowerCase(Locale.getDefault()) // верхний регистр
141-
+ delimiter + exceptions.toUpperCase(Locale.getDefault()) // нижний регистр
140+
delimiter + exceptions.toLowerCase(Locale.getDefault()) // нижний регистр
142141
+ delimiter + WordUtils.capitalizeFully(exceptions, delimiter); // титульный
143142
}
144143

0 commit comments

Comments
 (0)