forked from phoedos/pmd
Style check fixes
This commit is contained in:
Sergey
committed by
Juan Martín Sotuyo Dodero
parent
93f82fbd20
commit
0e52b1542e
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user