diff --git a/languagetool-language-modules/pt/src/main/java/org/languagetool/rules/pt/PortugueseProclisisFilter.java b/languagetool-language-modules/pt/src/main/java/org/languagetool/rules/pt/PortugueseProclisisFilter.java index 7ff627d2776b..6a35f6be4f43 100644 --- a/languagetool-language-modules/pt/src/main/java/org/languagetool/rules/pt/PortugueseProclisisFilter.java +++ b/languagetool-language-modules/pt/src/main/java/org/languagetool/rules/pt/PortugueseProclisisFilter.java @@ -21,7 +21,7 @@ public RuleMatch acceptRuleMatch(RuleMatch match, Map arguments, HashSet suggestions = new HashSet<>(Collections.emptyList()); for (AnalyzedToken at : encliticVerbTokenReadings.getReadings()) { String posTag = at.getPOSTag(); - if (posTag == null || (!posTag.startsWith("V") && !posTag.contains(":"))) { + if (posTag == null || !posTag.startsWith("V") || !posTag.contains(":")) { continue; } String oldToken = at.getToken();