ANY23-368 no-op commit; attempting to trigger a successful build
authorHans <firedrake93@gmail.com>
Fri, 13 Jul 2018 20:21:35 +0000 (15:21 -0500)
committerHans <firedrake93@gmail.com>
Fri, 13 Jul 2018 20:21:35 +0000 (15:21 -0500)
core/src/main/java/org/apache/any23/validator/rule/MetaNameMisuseFix.java

index 149ce5f..4346360 100644 (file)
@@ -43,13 +43,12 @@ public class MetaNameMisuseFix implements Fix {
     @SuppressWarnings("unchecked")
     public void execute(Rule rule, @SuppressWarnings("rawtypes") RuleContext context, DOMDocument document) {
         List<Node> nodes = (List<Node>) context.getData(MetaNameMisuseRule.ERRORED_META_NODES);
-        for(Node node : nodes) {
+        for (Node node : nodes) {
             final String nameValue = node.getAttributes().getNamedItem("name").getTextContent();
             node.getAttributes().removeNamedItem("name");
             Node propertyNode = document.getOriginalDocument().createAttribute("property");
             propertyNode.setNodeValue(nameValue);
             node.getAttributes().setNamedItem(propertyNode);
-
         }
     }