buildframework/helium/sf/java/antlint/src/com/nokia/helium/antlint/ant/types/CheckDuplicateNames.java
changeset 628 7c4a911dc066
parent 588 c7c26511138f
child 645 b8d81fa19e7d
--- a/buildframework/helium/sf/java/antlint/src/com/nokia/helium/antlint/ant/types/CheckDuplicateNames.java	Wed Jun 16 16:51:40 2010 +0300
+++ b/buildframework/helium/sf/java/antlint/src/com/nokia/helium/antlint/ant/types/CheckDuplicateNames.java	Fri Aug 13 14:59:05 2010 +0300
@@ -56,13 +56,14 @@
 
         for (String macroName : macros) {
             if (macros.contains(macroName + "Macro")
-                    || macros.contains(macroName + "macro"))
+                    || macros.contains(macroName + "macro")) {
                 this.getReporter()
                         .report(
                                 this.getSeverity(),
                                 macroName + " and " + macroName + "Macro"
                                         + " found duplicate name",
                                 this.getAntFile(), 0);
+            }
         }
     }