Commit 758292533b607fec6dacdda4a096a9df1261d986
1 parent
3d82a89c
Exists in
master
and in
1 other branch
Substituição do".equals" por "equalsIgnoreCase"
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/main/java/br/com/checker/emag/core/ContentEvaluation.java
... | ... | @@ -961,7 +961,7 @@ public class ContentEvaluation extends Evaluation { |
961 | 961 | for (Element table : getDocument().getAllElements("table")) { |
962 | 962 | Attribute summary = table.getAttributes().get("summary"); |
963 | 963 | |
964 | - if (!doctype.equals("<!DOCTYPEhtml>")) { | |
964 | + if (!doctype.equalsIgnoreCase("<!DOCTYPEhtml>")) { | |
965 | 965 | if (summary == null || summary.getValue().equals("")) |
966 | 966 | occurrences.add(buildOccurrence("3.9", false, table |
967 | 967 | .getStartTag().toString(), table, "1")); | ... | ... |