Style check fixes

This commit is contained in:
Sergey
2017-02-22 11:50:19 -08:00
committed by Juan Martín Sotuyo Dodero
parent 93f82fbd20
commit 0e52b1542e

View File

@ -60,7 +60,7 @@ public class VfUnescapeElRule extends AbstractVfRule {
}
}
if (name.equalsIgnoreCase("href") || name.equalsIgnoreCase("src")) {
if ("href".equalsIgnoreCase(name) || "src".equalsIgnoreCase(name)) {
final List<ASTElExpression> elsInVal = attr.findDescendantsOfType(ASTElExpression.class);
for (ASTElExpression el : elsInVal) {
if (doesElContainAnyUnescapedIdentifiers(el, ESCAPING.URLENCODE)) {
@ -217,7 +217,7 @@ public class VfUnescapeElRule extends AbstractVfRule {
private final String text;
private ESCAPING(final String text) {
ESCAPING(final String text) {
this.text = text;
}