Commit b89db02ef35349db04a3b93dd404df2d92ed4b9f
1 parent
df262090
Exists in
master
Verificar se foi capaz de retornar o css externo.
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
src/main/java/br/com/checker/emag/core/PresentationEvaluation.java
... | ... | @@ -340,7 +340,8 @@ public class PresentationEvaluation extends Evaluation{ |
340 | 340 | //Verifica se tem #id |
341 | 341 | for (String style : lsCssExterno) { |
342 | 342 | |
343 | - | |
343 | + if(style != null) | |
344 | + { | |
344 | 345 | if(element.getStartTag().getAttributeValue("id") != null || element.getStartTag().getAttributeValue("class") != null) |
345 | 346 | { |
346 | 347 | //Coloca todo css em apenas uma linha, depois separa por blocos |
... | ... | @@ -442,7 +443,7 @@ public class PresentationEvaluation extends Evaluation{ |
442 | 443 | } |
443 | 444 | |
444 | 445 | } |
445 | - | |
446 | + } | |
446 | 447 | |
447 | 448 | corAvaliar = null; |
448 | 449 | foreground = null; | ... | ... |