Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8553994

Browse files
committed
[es] rename variable
1 parent 6f96ac8 commit 8553994

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

languagetool-core/src/main/java/org/languagetool/JLanguageTool.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,11 +1094,11 @@ private boolean isRuleActiveForLanguageWithModel(Rule rule, Language language, M
10941094
}
10951095
}
10961096
if (language.getShortCode().equals("es")) {
1097-
List<String> disableFrenchRules = Arrays.asList("AGREEMENT_POSTPONED_ADJ");
1097+
List<String> disableSpanishRules = Arrays.asList("AGREEMENT_POSTPONED_ADJ");
10981098
RemoteRuleResult remoteRulesResult = remoteRulesResults.get("AI_ES_GGEC");
10991099
if (remoteRulesResult != null) {
11001100
if (remoteRulesResult.isSuccess()) {
1101-
return !disableFrenchRules.contains(rule.getId());
1101+
return !disableSpanishRules.contains(rule.getId());
11021102
}
11031103
}
11041104
}

0 commit comments

Comments
 (0)