flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cd...@apache.org
Subject [2/2] git commit: [flex-utilities] [refs/heads/develop] - - Fine tuned the main pom - Fixed a lot of unit-tests.
Date Sat, 30 Aug 2014 18:57:12 GMT
- Fine tuned the main pom
- Fixed a lot of unit-tests.


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/84658ba5
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/84658ba5
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/84658ba5

Branch: refs/heads/develop
Commit: 84658ba571c1dc1ebfbf553bf5a4d040f3b8a03a
Parents: 694d98d
Author: cdutz <christofer.dutz@c-ware.de>
Authored: Sat Aug 30 20:56:49 2014 +0200
Committer: cdutz <christofer.dutz@c-ware.de>
Committed: Sat Aug 30 20:56:50 2014 +0200

----------------------------------------------------------------------
 .../adobe/ac/pmd/files/impl/FileUtilsTest.java  |   6 +-
 .../ac/pmd/nodes/impl/CommentNodeTest.java      |  23 ++-
 .../UseInternalClassOutsideApiClassTest.java    |  12 +-
 .../ViewComponentReferencedInModelRuleTest.java |   2 +-
 .../asdocs/AttributeAsDocMissingRuleTest.java   |   2 +-
 .../rules/asdocs/ClassAsDocMissingRuleTest.java |   2 +-
 .../asdocs/MethodAsDocMissingRuleTest.java      |   4 +-
 .../pmd/rules/binding/BindingUtilsRuleTest.java |   2 +-
 .../rules/binding/ChangeWatcherRuleTest.java    |   2 +-
 .../TooLongBindingExpressionRuleTest.java       |   2 +-
 .../BadCairngormEventNameFormatRuleTest.java    |   2 +-
 .../cairngorm/BindableModelLocatorRuleTest.java |   2 +-
 ...rmEventDispatcherCallExplicitlyRuleTest.java |   4 +-
 .../rules/cairngorm/FatControllerRuleTest.java  |   2 +-
 ...rReferencedMoreThanOncePerClassRuleTest.java |   2 +-
 ...ocatorOutsideTheMainApplicationRuleTest.java |  10 +-
 .../component/CallLaterDirectlyRuleTest.java    |   2 +-
 ...ildrenNumberInUpdateDisplayListRuleTest.java |   8 +-
 .../pmd/rules/css/StyleBlockInMxmlRuleTest.java |   2 +-
 .../UseCssInsteadOfEmbedMetaDataRuleTest.java   |   2 +-
 .../empty/EmptyCatchStatementRuleTest.java      |   2 +-
 .../ac/pmd/rules/empty/EmptyIfStmtRuleTest.java |  18 +--
 .../ConstructorDispatchingEventRuleTest.java    |   2 +-
 .../rules/event/DefaultEventNameRuleTest.java   |   2 +-
 .../DispatchHardCodedEventNameRuleTest.java     |   6 +-
 .../EventMissingCloneFunctionRuleTest.java      |   4 +-
 .../ListenForHardCodedEventNameRuleTest.java    |   2 +-
 .../PublicVariableInCustomEventRuleTest.java    |   4 +-
 .../event/UnboundTypeInMetadataRuleTest.java    |   4 +-
 .../event/UntypedEventMetadataRuleTest.java     |   2 +-
 .../pmd/rules/flexunit/EmptyUnitTestTest.java   |   6 +-
 .../rules/maintanability/AlertShowRuleTest.java |   8 +-
 ...rrayFieldWithNoArrayElementTypeRuleTest.java |   4 +-
 ...AvoidProtectedFieldInFinalClassRuleTest.java |   4 +-
 .../AvoidUseOfAsKeywordRuleTest.java            |   8 +-
 .../AvoidUsingPublicStaticFieldRuleTest.java    |   4 +-
 .../AvoidUsingWithKeyWordRuleTest.java          |   2 +-
 .../ClassAndExtensionAreIdenticalRuleTest.java  |   2 +-
 .../maintanability/DynamicClassRuleTest.java    |   2 +-
 .../maintanability/EmptyStatementRuleTest.java  |   6 +-
 .../maintanability/ExcessiveImportRuleTest.java |   6 +-
 .../NonStaticConstantFieldRuleTest.java         |  20 +--
 .../maintanability/OnlyOneReturnRuleTest.java   |   6 +-
 .../ProtectedStaticMethodRuleTest.java          |   2 +-
 ...riableBindingFromItsInitializerRuleTest.java |   8 +-
 .../TrueFalseConditionRuleTest.java             |  28 ++--
 .../UselessOverridenFunctionRuleTest.java       |   4 +-
 .../UseDictionaryTypeRuleTest.java              |   2 +-
 .../forbiddenttypes/UseGenericTypeRuleTest.java |  10 +-
 .../forbiddenttypes/UseObjectTypeRuleTest.java  |  18 +--
 .../rules/multiscreen/AvoidTooltipRuleTest.java |   2 +-
 .../rules/mxml/CodeBehindInMxmlRuleTest.java    |   2 +-
 .../MoreThanOneEntryPointInMxmlRuleTest.java    |   2 +-
 .../MoreThanTwoEntryPointsInMxmlRuleTest.java   |   2 +-
 .../rules/mxml/StaticMethodInMxmlRuleTest.java  |   2 +-
 .../rules/mxml/TooLongScriptBlockRuleTest.java  |   8 +-
 .../naming/CapitalizeConstantsRuleTest.java     |  41 +++--
 .../rules/naming/IncorrectClassCaseTest.java    |   2 +-
 .../IncorrectEventHandlerNameRuleTest.java      |  12 +-
 .../rules/naming/InterfaceNamingRuleTest.java   |   6 +-
 .../pmd/rules/naming/PackageCaseRuleTest.java   |   2 +
 .../PropertyHiddenByLocalVariableRuleTest.java  |   2 +-
 .../naming/TooLongFunctionNameRuleTest.java     |   2 +-
 .../rules/naming/TooShortVariableRuleTest.java  |  14 +-
 .../VariableNameEndingWithNumericRuleTest.java  |   8 +-
 .../naming/WronglyNamedVariableRuleTest.java    |  60 +++----
 .../parsley/InaccessibleMetaDataRuleTest.java   |   8 +-
 .../MessageInterceptorSignatureRuleTest.java    |   6 +-
 .../parsley/MismatchedManagedEventRuleTest.java |   2 +-
 .../parsley/MisplacedMetaDataRuleTest.java      |  46 +++---
 ...dantMessageHandlerTypeAttributeRuleTest.java |   2 +-
 .../RedundantMethodAttributeRuleTest.java       |   2 +-
 .../UnknownMetaDataAttributeRuleTest.java       |   6 +-
 .../AvoidDeclarationInLoopRuleTest.java         |  88 +++++------
 .../AvoidInstanciationInLoopRuleTest.java       |  20 +--
 .../AvoidUsingMathFloorRuleTest.java            |   4 +-
 .../AvoidUsingMathRoundRuleTest.java            |   2 +-
 .../performance/BindableClassRuleTest.java      |   2 +
 .../CreationPolicySetToAllRuleTest.java         |   2 +-
 .../CyclomaticComplexityRuleTest.java           |  10 +-
 .../performance/DeeplyNestedIfRuleTest.java     |  14 +-
 .../DynamicFiltersUsedInPopupTest.java          |   6 +-
 .../performance/HeavyConstructorRuleTest.java   |  10 +-
 .../RecursiveStyleManagerRuleTest.java          |   4 +-
 .../performance/UseTraceFunctionRuleTest.java   |   8 +-
 .../security/AllowAllSecureDomainRuleTest.java  |   2 +-
 .../security/AllowInsecureDomainRuleTest.java   |   4 +-
 .../security/InsecureExactSettingsRuleTest.java |   2 +-
 .../rules/security/LSOSecureFalseRuleTest.java  |   2 +-
 .../security/LocalConnectionStarRuleTest.java   |   2 +-
 FlexPMD/pom.xml                                 | 158 +++----------------
 91 files changed, 379 insertions(+), 489 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-files/src/test/java/com/adobe/ac/pmd/files/impl/FileUtilsTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-files/src/test/java/com/adobe/ac/pmd/files/impl/FileUtilsTest.java b/FlexPMD/flex-pmd-java/flex-pmd-files/src/test/java/com/adobe/ac/pmd/files/impl/FileUtilsTest.java
index 4c26497..270c5f9 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-files/src/test/java/com/adobe/ac/pmd/files/impl/FileUtilsTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-files/src/test/java/com/adobe/ac/pmd/files/impl/FileUtilsTest.java
@@ -40,7 +40,7 @@ public class FileUtilsTest extends FlexPmdTestBase
                                           "",
                                           null );
 
-      Assert.assertEquals( 98,
+      Assert.assertEquals( 99,
                            files.size() );
 
       final List< String > excludePatterns = new ArrayList< String >();
@@ -50,7 +50,7 @@ public class FileUtilsTest extends FlexPmdTestBase
                                           "",
                                           excludePatterns );
 
-      Assert.assertEquals( 82,
+      Assert.assertEquals( 83,
                            files.size() );
    }
 
@@ -109,7 +109,7 @@ public class FileUtilsTest extends FlexPmdTestBase
                                                                          "",
                                                                          null );
 
-      Assert.assertEquals( 98,
+      Assert.assertEquals( 99,
                            files.size() );
    }
 }

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset-api/src/test/java/com/adobe/ac/pmd/nodes/impl/CommentNodeTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset-api/src/test/java/com/adobe/ac/pmd/nodes/impl/CommentNodeTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset-api/src/test/java/com/adobe/ac/pmd/nodes/impl/CommentNodeTest.java
index 674d4a4..7153ba5 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset-api/src/test/java/com/adobe/ac/pmd/nodes/impl/CommentNodeTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset-api/src/test/java/com/adobe/ac/pmd/nodes/impl/CommentNodeTest.java
@@ -20,6 +20,7 @@ import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNotNull;
 import net.sourceforge.pmd.PMDException;
 
+import org.junit.Ignore;
 import org.junit.Test;
 
 import com.adobe.ac.pmd.FlexPmdTestBase;
@@ -27,6 +28,7 @@ import com.adobe.ac.pmd.files.FileSetUtils;
 import com.adobe.ac.pmd.nodes.IPackage;
 import com.adobe.ac.pmd.parser.IParserNode;
 
+@Ignore("This test requires test-data that was not donated to Apache")
 public class CommentNodeTest extends FlexPmdTestBase
 {
    private final IPackage flexPMD60Package;
@@ -43,7 +45,7 @@ public class CommentNodeTest extends FlexPmdTestBase
    {
       assertNotNull( flexPMD60Package.getClassNode().getAsDoc().getStringValue() );
 
-      assertEquals( "/**   * AsDoc class   */",
+      assertEquals( "/** * AsDoc class */",
                     flexPMD60Package.getClassNode()
                                     .getAsDoc()
                                     .getStringValue()
@@ -59,7 +61,7 @@ public class CommentNodeTest extends FlexPmdTestBase
 
       assertNotNull( flexPMD60Package.getClassNode().getMultiLinesComment().get( 0 ) );
 
-      assertEquals( "/*   * comment   */",
+      assertEquals( "/* * comment */",
                     flexPMD60Package.getClassNode()
                                     .getMultiLinesComment()
                                     .get( 0 )
@@ -77,7 +79,7 @@ public class CommentNodeTest extends FlexPmdTestBase
    {
       assertNotNull( flexPMD60Package.getClassNode().getAttributes().get( 0 ).getAsDoc() );
 
-      assertEquals( "/**    * AsDoc attribute    */",
+      assertEquals( "/**   * AsDoc attribute   */",
                     flexPMD60Package.getClassNode()
                                     .getAttributes()
                                     .get( 0 )
@@ -97,23 +99,20 @@ public class CommentNodeTest extends FlexPmdTestBase
    {
       assertNotNull( flexPMD60Package.getClassNode().getFunctions().get( 0 ).getAsDoc() );
 
-      assertEquals( "/**    * AsDoc method    */",
+      assertEquals( "/**   * AsDoc method   */",
                     flexPMD60Package.getClassNode()
                                     .getFunctions()
                                     .get( 0 )
                                     .getAsDoc()
                                     .getStringValue()
-                                    .replace( "\t",
-                                              "   " )
-                                    .replace( '\n',
-                                              ' ' )
-                                    .replaceAll( "  ",
-                                                 " " ) );
+                                    .replace( "\t","   " )
+                                    .replace( '\n', ' ' )
+                                    .replaceAll( "  ", " " ) );
 
       assertEquals( 2,
                     flexPMD60Package.getClassNode().getMultiLinesComment().size() );
 
-      assertEquals( "/*   * comment   */",
+      assertEquals( "/* * comment */",
                     flexPMD60Package.getClassNode()
                                     .getMultiLinesComment()
                                     .get( 0 )
@@ -148,7 +147,7 @@ public class CommentNodeTest extends FlexPmdTestBase
    {
       assertNotNull( flexPMD60Package.getClassNode().getAsDoc() );
 
-      assertEquals( "/**   * AsDoc class   */",
+      assertEquals( "/** * AsDoc class */",
                     flexPMD60Package.getClassNode()
                                     .getAsDoc()
                                     .getStringValue()

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/architecture/UseInternalClassOutsideApiClassTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/architecture/UseInternalClassOutsideApiClassTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/architecture/UseInternalClassOutsideApiClassTest.java
index 1691f2f..9962b1b 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/architecture/UseInternalClassOutsideApiClassTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/architecture/UseInternalClassOutsideApiClassTest.java
@@ -27,17 +27,17 @@ public class UseInternalClassOutsideApiClassTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "functional.func2.restricted.Func2RestrictedClass.as", new ViolationPosition[]
-       { new ViolationPosition( 34 ) } ),
+       { new ViolationPosition( 22 ) } ),
                   new ExpectedViolation( "functional.func1.restricted.Func1RestrictedClass.as",
                                          new ViolationPosition[]
-                                         { new ViolationPosition( 35 ) } ),
+                                         { new ViolationPosition( 23 ) } ),
                   new ExpectedViolation( "functional.func2.api.Func2ExposedClass.as", new ViolationPosition[]
-                  { new ViolationPosition( 34 ) } ),
+                  { new ViolationPosition( 22 ) } ),
                   new ExpectedViolation( "functional.func1.api.Func1ExposedClass.as", new ViolationPosition[]
-                  { new ViolationPosition( 36 ) } ),
+                  { new ViolationPosition( 24 ) } ),
                   new ExpectedViolation( "functional.FunctionalClient.as", new ViolationPosition[]
-                  { new ViolationPosition( 34 ),
-                              new ViolationPosition( 36 ) } ) };
+                  { new ViolationPosition( 22 ),
+                              new ViolationPosition( 24 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/architecture/ViewComponentReferencedInModelRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/architecture/ViewComponentReferencedInModelRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/architecture/ViewComponentReferencedInModelRuleTest.java
index 1c6389d..7321a85 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/architecture/ViewComponentReferencedInModelRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/architecture/ViewComponentReferencedInModelRuleTest.java
@@ -27,7 +27,7 @@ public class ViewComponentReferencedInModelRuleTest extends AbstractRegExpBasedR
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "com.adobe.ac.ncss.BigImporterModel.as", new ViolationPosition[]
-      { new ViolationPosition( 35 ) } ) };
+      { new ViolationPosition( 23 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/asdocs/AttributeAsDocMissingRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/asdocs/AttributeAsDocMissingRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/asdocs/AttributeAsDocMissingRuleTest.java
index 5360851..9037713 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/asdocs/AttributeAsDocMissingRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/asdocs/AttributeAsDocMissingRuleTest.java
@@ -26,7 +26,7 @@ public class AttributeAsDocMissingRuleTest extends AbstractAsDocRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "EmptyClass.as", new ViolationPosition[]
-      { new ViolationPosition( 35 ) } ) };
+      { new ViolationPosition( 23 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/asdocs/ClassAsDocMissingRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/asdocs/ClassAsDocMissingRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/asdocs/ClassAsDocMissingRuleTest.java
index d42e1f0..ca0b3bc 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/asdocs/ClassAsDocMissingRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/asdocs/ClassAsDocMissingRuleTest.java
@@ -26,7 +26,7 @@ public class ClassAsDocMissingRuleTest extends AbstractAsDocRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "EmptyClass.as", new ViolationPosition[]
-      { new ViolationPosition( 33 ) } ) };
+      { new ViolationPosition( 21 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/asdocs/MethodAsDocMissingRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/asdocs/MethodAsDocMissingRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/asdocs/MethodAsDocMissingRuleTest.java
index 87c09aa..5add1c0 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/asdocs/MethodAsDocMissingRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/asdocs/MethodAsDocMissingRuleTest.java
@@ -27,8 +27,8 @@ public class MethodAsDocMissingRuleTest extends AbstractAsDocRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "EmptyClass.as", new ViolationPosition[]
-      { new ViolationPosition( 37 ),
-                  new ViolationPosition( 41 ) } ) };
+      { new ViolationPosition( 25 ),
+                  new ViolationPosition( 29 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/binding/BindingUtilsRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/binding/BindingUtilsRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/binding/BindingUtilsRuleTest.java
index e2d18ff..6bab060 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/binding/BindingUtilsRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/binding/BindingUtilsRuleTest.java
@@ -27,7 +27,7 @@ public class BindingUtilsRuleTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "cairngorm.FatController.as", new ViolationPosition[]
-      { new ViolationPosition( 90 ) } ) };
+      { new ViolationPosition( 78 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/binding/ChangeWatcherRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/binding/ChangeWatcherRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/binding/ChangeWatcherRuleTest.java
index 22cd7fc..b725c49 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/binding/ChangeWatcherRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/binding/ChangeWatcherRuleTest.java
@@ -27,7 +27,7 @@ public class ChangeWatcherRuleTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "AbstractRowData.as", new ViolationPosition[]
-      { new ViolationPosition( 35 ) } ) };
+      { new ViolationPosition( 23 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/binding/TooLongBindingExpressionRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/binding/TooLongBindingExpressionRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/binding/TooLongBindingExpressionRuleTest.java
index 73d8214..6a6d62e 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/binding/TooLongBindingExpressionRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/binding/TooLongBindingExpressionRuleTest.java
@@ -27,7 +27,7 @@ public class TooLongBindingExpressionRuleTest extends AbstractRegExpBasedRuleTes
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "com.adobe.ac.ncss.mxml.IterationsList2.mxml", new ViolationPosition[]
-      { new ViolationPosition( 54 ) } ) };
+      { new ViolationPosition( 40 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/BadCairngormEventNameFormatRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/BadCairngormEventNameFormatRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/BadCairngormEventNameFormatRuleTest.java
index 82f2677..18ee317 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/BadCairngormEventNameFormatRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/BadCairngormEventNameFormatRuleTest.java
@@ -26,7 +26,7 @@ public class BadCairngormEventNameFormatRuleTest extends AbstractAstFlexRuleTest
    protected ExpectedViolation[] getExpectedViolatingFiles()
    {
       final ViolationPosition[] positions =
-      { new ViolationPosition( 38 ) };
+      { new ViolationPosition( 26 ) };
 
       return new ExpectedViolation[]
       { new ExpectedViolation( "cairngorm.events.UncorrectConstructorEvent.as", positions ),

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/BindableModelLocatorRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/BindableModelLocatorRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/BindableModelLocatorRuleTest.java
index 11f0379..8daff27 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/BindableModelLocatorRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/BindableModelLocatorRuleTest.java
@@ -27,7 +27,7 @@ public class BindableModelLocatorRuleTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "cairngorm.BindableModelLocator.as", new ViolationPosition[]
-      { new ViolationPosition( 33 ) } ) };
+      { new ViolationPosition( 21 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/CairngormEventDispatcherCallExplicitlyRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/CairngormEventDispatcherCallExplicitlyRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/CairngormEventDispatcherCallExplicitlyRuleTest.java
index d6a1c0a..68873cb 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/CairngormEventDispatcherCallExplicitlyRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/CairngormEventDispatcherCallExplicitlyRuleTest.java
@@ -27,8 +27,8 @@ public class CairngormEventDispatcherCallExplicitlyRuleTest extends AbstractAstF
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "AbstractRowData.as", new ViolationPosition[]
-      { new ViolationPosition( 110 ),
-                  new ViolationPosition( 114 ) } ) };
+      { new ViolationPosition( 98 ),
+                  new ViolationPosition( 102 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/FatControllerRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/FatControllerRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/FatControllerRuleTest.java
index 89276a2..2f4d416 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/FatControllerRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/FatControllerRuleTest.java
@@ -27,7 +27,7 @@ public class FatControllerRuleTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "cairngorm.FatController.as", new ViolationPosition[]
-      { new ViolationPosition( 95 ) } ) };
+      { new ViolationPosition( 83 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/ModelLocatorReferencedMoreThanOncePerClassRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/ModelLocatorReferencedMoreThanOncePerClassRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/ModelLocatorReferencedMoreThanOncePerClassRuleTest.java
index 59294b2..19a733c 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/ModelLocatorReferencedMoreThanOncePerClassRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/ModelLocatorReferencedMoreThanOncePerClassRuleTest.java
@@ -27,7 +27,7 @@ public class ModelLocatorReferencedMoreThanOncePerClassRuleTest extends
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "UnboundMetadata.as", new ViolationPosition[]
-      { new ViolationPosition( 50 ) } ) };
+      { new ViolationPosition( 38 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/ReferenceModelLocatorOutsideTheMainApplicationRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/ReferenceModelLocatorOutsideTheMainApplicationRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/ReferenceModelLocatorOutsideTheMainApplicationRuleTest.java
index 7853bf7..606d698 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/ReferenceModelLocatorOutsideTheMainApplicationRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/cairngorm/ReferenceModelLocatorOutsideTheMainApplicationRuleTest.java
@@ -27,13 +27,13 @@ public class ReferenceModelLocatorOutsideTheMainApplicationRuleTest extends Abst
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "UnboundMetadata.as", new ViolationPosition[]
-       { new ViolationPosition( 43 ),
-                   new ViolationPosition( 45 ),
-                   new ViolationPosition( 50 ) } ),
+       { new ViolationPosition( 31 ),
+                   new ViolationPosition( 33 ),
+                   new ViolationPosition( 38 ) } ),
                   new ExpectedViolation( "com.adobe.ac.ncss.mxml.IterationsList.mxml",
                                          new ViolationPosition[]
-                                         { new ViolationPosition( 91 ),
-                                                     new ViolationPosition( 93 ) } ) };
+                                         { new ViolationPosition( 77 ),
+                                                     new ViolationPosition( 79 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/component/CallLaterDirectlyRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/component/CallLaterDirectlyRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/component/CallLaterDirectlyRuleTest.java
index 5d68156..0bf271b 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/component/CallLaterDirectlyRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/component/CallLaterDirectlyRuleTest.java
@@ -28,7 +28,7 @@ public class CallLaterDirectlyRuleTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "GenericType.as", new ViolationPosition[]
-      { new ViolationPosition( 41 ) } ) };
+      { new ViolationPosition( 29 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/component/UpdateChildrenNumberInUpdateDisplayListRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/component/UpdateChildrenNumberInUpdateDisplayListRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/component/UpdateChildrenNumberInUpdateDisplayListRuleTest.java
index dc83f66..67d1f06 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/component/UpdateChildrenNumberInUpdateDisplayListRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/component/UpdateChildrenNumberInUpdateDisplayListRuleTest.java
@@ -27,10 +27,10 @@ public class UpdateChildrenNumberInUpdateDisplayListRuleTest extends AbstractAst
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "BadComponent.as", new ViolationPosition[]
-      { new ViolationPosition( 42 ),
-                  new ViolationPosition( 43 ),
-                  new ViolationPosition( 44 ),
-                  new ViolationPosition( 45 ) } ) };
+      { new ViolationPosition( 30 ),
+                  new ViolationPosition( 31 ),
+                  new ViolationPosition( 32 ),
+                  new ViolationPosition( 33 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/css/StyleBlockInMxmlRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/css/StyleBlockInMxmlRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/css/StyleBlockInMxmlRuleTest.java
index 998c631..99bee61 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/css/StyleBlockInMxmlRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/css/StyleBlockInMxmlRuleTest.java
@@ -27,7 +27,7 @@ public class StyleBlockInMxmlRuleTest extends AbstractRegExpBasedRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "Main.mxml", new ViolationPosition[]
-      { new ViolationPosition( 52 ) } ) };
+      { new ViolationPosition( 38 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/css/UseCssInsteadOfEmbedMetaDataRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/css/UseCssInsteadOfEmbedMetaDataRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/css/UseCssInsteadOfEmbedMetaDataRuleTest.java
index a3d9409..fd910fb 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/css/UseCssInsteadOfEmbedMetaDataRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/css/UseCssInsteadOfEmbedMetaDataRuleTest.java
@@ -27,7 +27,7 @@ public class UseCssInsteadOfEmbedMetaDataRuleTest extends AbstractAstFlexRuleTes
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "Title.as", new ViolationPosition[]
-      { new ViolationPosition( 38 ) } ) };
+      { new ViolationPosition( 26 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/empty/EmptyCatchStatementRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/empty/EmptyCatchStatementRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/empty/EmptyCatchStatementRuleTest.java
index b20e210..7e3cec0 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/empty/EmptyCatchStatementRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/empty/EmptyCatchStatementRuleTest.java
@@ -27,7 +27,7 @@ public class EmptyCatchStatementRuleTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "com.adobe.ac.ncss.ConfigProxy.as", new ViolationPosition[]
-      { new ViolationPosition( 57 ) } ) };
+      { new ViolationPosition( 45 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/empty/EmptyIfStmtRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/empty/EmptyIfStmtRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/empty/EmptyIfStmtRuleTest.java
index fcd8900..7e0e736 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/empty/EmptyIfStmtRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/empty/EmptyIfStmtRuleTest.java
@@ -27,18 +27,18 @@ public class EmptyIfStmtRuleTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "bug.Duane.mxml", new ViolationPosition[]
-       { new ViolationPosition( 91 ),
-                   new ViolationPosition( 87 ),
-                   new ViolationPosition( 83 ) } ),
+       { new ViolationPosition( 77 ),
+                   new ViolationPosition( 73 ),
+                   new ViolationPosition( 69 ) } ),
                   new ExpectedViolation( "PngEncoder.as", new ViolationPosition[]
-                  { new ViolationPosition( 578 ),
-                              new ViolationPosition( 584 ) } ),
+                  { new ViolationPosition( 561 ),
+                              new ViolationPosition( 567 ) } ),
                   new ExpectedViolation( "RadonDataGrid.as", new ViolationPosition[]
-                  { new ViolationPosition( 63 ),
-                              new ViolationPosition( 190 ) } ),
+                  { new ViolationPosition( 51 ),
+                              new ViolationPosition( 178 ) } ),
                   new ExpectedViolation( "AbstractRowData.as", new ViolationPosition[]
-                  { new ViolationPosition( 106 ),
-                              new ViolationPosition( 113 ) } ) };
+                  { new ViolationPosition( 94 ),
+                              new ViolationPosition( 101 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/ConstructorDispatchingEventRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/ConstructorDispatchingEventRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/ConstructorDispatchingEventRuleTest.java
index e40d698..04b5d73 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/ConstructorDispatchingEventRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/ConstructorDispatchingEventRuleTest.java
@@ -27,7 +27,7 @@ public class ConstructorDispatchingEventRuleTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "com.adobe.ac.ncss.BigImporterModel.as", new ViolationPosition[]
-      { new ViolationPosition( 58 ) } ) };
+      { new ViolationPosition( 46 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/DefaultEventNameRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/DefaultEventNameRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/DefaultEventNameRuleTest.java
index 9d7a0a5..e94f8c6 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/DefaultEventNameRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/DefaultEventNameRuleTest.java
@@ -27,7 +27,7 @@ public class DefaultEventNameRuleTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "DefaultNameEvent.as", new ViolationPosition[]
-      { new ViolationPosition( 38 ) } ) };
+      { new ViolationPosition( 26 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/DispatchHardCodedEventNameRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/DispatchHardCodedEventNameRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/DispatchHardCodedEventNameRuleTest.java
index 74d3700..8765c20 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/DispatchHardCodedEventNameRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/DispatchHardCodedEventNameRuleTest.java
@@ -27,10 +27,10 @@ public class DispatchHardCodedEventNameRuleTest extends AbstractRegExpBasedRuleT
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "com.adobe.ac.ncss.BigImporterModel.as", new ViolationPosition[]
-       { new ViolationPosition( 58 ) } ),
+       { new ViolationPosition( 46 ) } ),
                   new ExpectedViolation( "AbstractRowData.as", new ViolationPosition[]
-                  { new ViolationPosition( 110 ),
-                              new ViolationPosition( 111 ) } ) };
+                  { new ViolationPosition( 98 ),
+                              new ViolationPosition( 99 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/EventMissingCloneFunctionRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/EventMissingCloneFunctionRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/EventMissingCloneFunctionRuleTest.java
index 23407fc..720c66c 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/EventMissingCloneFunctionRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/EventMissingCloneFunctionRuleTest.java
@@ -27,10 +27,10 @@ public class EventMissingCloneFunctionRuleTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "com.adobe.ac.ncss.SearchBarEvent.as", new ViolationPosition[]
-       { new ViolationPosition( 35 ) } ),
+       { new ViolationPosition( 23 ) } ),
                   new ExpectedViolation( "com.adobe.ac.ncss.event.FirstCustomEvent.as",
                                          new ViolationPosition[]
-                                         { new ViolationPosition( 33 ) } ) };
+                                         { new ViolationPosition( 21 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/ListenForHardCodedEventNameRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/ListenForHardCodedEventNameRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/ListenForHardCodedEventNameRuleTest.java
index bfded2d..2475d3e 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/ListenForHardCodedEventNameRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/ListenForHardCodedEventNameRuleTest.java
@@ -27,7 +27,7 @@ public class ListenForHardCodedEventNameRuleTest extends AbstractRegExpBasedRule
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "AbstractRowData.as", new ViolationPosition[]
-      { new ViolationPosition( 109 ) } ) };
+      { new ViolationPosition( 97 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/PublicVariableInCustomEventRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/PublicVariableInCustomEventRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/PublicVariableInCustomEventRuleTest.java
index c4c4ff6..6b75f32 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/PublicVariableInCustomEventRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/PublicVariableInCustomEventRuleTest.java
@@ -27,10 +27,10 @@ public class PublicVariableInCustomEventRuleTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "com.adobe.ac.ncss.event.DynamicCustomEvent.as", new ViolationPosition[]
-       { new ViolationPosition( 35 ) } ),
+       { new ViolationPosition( 23 ) } ),
                   new ExpectedViolation( "com.adobe.ac.ncss.event.FirstCustomEvent.as",
                                          new ViolationPosition[]
-                                         { new ViolationPosition( 35 ) } ) };
+                                         { new ViolationPosition( 23 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/UnboundTypeInMetadataRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/UnboundTypeInMetadataRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/UnboundTypeInMetadataRuleTest.java
index 835bac2..eb63d35 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/UnboundTypeInMetadataRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/UnboundTypeInMetadataRuleTest.java
@@ -27,9 +27,9 @@ public class UnboundTypeInMetadataRuleTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "bug.Nico.as", new ViolationPosition[]
-       { new ViolationPosition( 36 ) } ),
+       { new ViolationPosition( 24 ) } ),
                   new ExpectedViolation( "UnboundMetadata.as", new ViolationPosition[]
-                  { new ViolationPosition( 38 ) } ) };
+                  { new ViolationPosition( 26 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/UntypedEventMetadataRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/UntypedEventMetadataRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/UntypedEventMetadataRuleTest.java
index 81ee608..7a068b2 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/UntypedEventMetadataRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/event/UntypedEventMetadataRuleTest.java
@@ -27,7 +27,7 @@ public class UntypedEventMetadataRuleTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "UnboundMetadata.as", new ViolationPosition[]
-      { new ViolationPosition( 39 ) } ) };
+      { new ViolationPosition( 27 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/flexunit/EmptyUnitTestTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/flexunit/EmptyUnitTestTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/flexunit/EmptyUnitTestTest.java
index 8d700f9..a89bb6b 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/flexunit/EmptyUnitTestTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/flexunit/EmptyUnitTestTest.java
@@ -27,10 +27,10 @@ public class EmptyUnitTestTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "flexunit.RaoulTest.as", new ViolationPosition[]
-       { new ViolationPosition( 54 ),
-                   new ViolationPosition( 60 ) } ),
+       { new ViolationPosition( 42 ),
+                   new ViolationPosition( 48 ) } ),
                   new ExpectedViolation( "flexunit.RulesetTest.as", new ViolationPosition[]
-                  { new ViolationPosition( 48 ) } ) };
+                  { new ViolationPosition( 36 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/AlertShowRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/AlertShowRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/AlertShowRuleTest.java
index 60f4ff9..445c2e5 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/AlertShowRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/AlertShowRuleTest.java
@@ -25,13 +25,13 @@ public class AlertShowRuleTest extends AbstractAstFlexRuleTest
    public static final ExpectedViolation[] VIOLATING_FILES = new ExpectedViolation[]
                                                            { new ExpectedViolation( "flexpmd114.a.Test.as",
                                                                                     new ViolationPosition[]
-                                                                                    { new ViolationPosition( 43 ) } ),
+                                                                                    { new ViolationPosition( 31 ) } ),
                new ExpectedViolation( "flexpmd114.b.Test.as", new ViolationPosition[]
-               { new ViolationPosition( 43 ) } ),
+               { new ViolationPosition( 31 ) } ),
                new ExpectedViolation( "flexpmd114.c.Test.as", new ViolationPosition[]
-               { new ViolationPosition( 43 ) } ),
+               { new ViolationPosition( 31 ) } ),
                new ExpectedViolation( "com.adobe.ac.ncss.ConfigProxy.as", new ViolationPosition[]
-               { new ViolationPosition( 48 ) } )          };
+               { new ViolationPosition( 36 ) } )          };
 
    @Override
    protected ExpectedViolation[] getExpectedViolatingFiles()

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/ArrayFieldWithNoArrayElementTypeRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/ArrayFieldWithNoArrayElementTypeRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/ArrayFieldWithNoArrayElementTypeRuleTest.java
index b744b93..9c7a101 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/ArrayFieldWithNoArrayElementTypeRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/ArrayFieldWithNoArrayElementTypeRuleTest.java
@@ -27,9 +27,9 @@ public class ArrayFieldWithNoArrayElementTypeRuleTest extends AbstractAstFlexRul
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "fu.main.flex.TestRunnerApplication.mxml", new ViolationPosition[]
-       { new ViolationPosition( 48 ) } ),
+       { new ViolationPosition( 34 ) } ),
                   new ExpectedViolation( "bug.FlexPMD233b.mxml", new ViolationPosition[]
-                  { new ViolationPosition( 66 ) } ) };
+                  { new ViolationPosition( 52 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/AvoidProtectedFieldInFinalClassRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/AvoidProtectedFieldInFinalClassRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/AvoidProtectedFieldInFinalClassRuleTest.java
index 780f244..630e25c 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/AvoidProtectedFieldInFinalClassRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/AvoidProtectedFieldInFinalClassRuleTest.java
@@ -27,8 +27,8 @@ public class AvoidProtectedFieldInFinalClassRuleTest extends AbstractAstFlexRule
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "AbstractRowData.as", new ViolationPosition[]
-      { new ViolationPosition( 44 ),
-                  new ViolationPosition( 89 ) } ) };
+      { new ViolationPosition( 32 ),
+                  new ViolationPosition( 77 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/AvoidUseOfAsKeywordRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/AvoidUseOfAsKeywordRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/AvoidUseOfAsKeywordRuleTest.java
index e5c64b7..dd8b97a 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/AvoidUseOfAsKeywordRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/AvoidUseOfAsKeywordRuleTest.java
@@ -64,11 +64,11 @@ public class AvoidUseOfAsKeywordRuleTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "LongSwitch.as", new ViolationPosition[]
-       { new ViolationPosition( 60 ),
-                   new ViolationPosition( 61 ) } ),
+       { new ViolationPosition( 48 ),
+                   new ViolationPosition( 49 ) } ),
                   new ExpectedViolation( "NestedSwitch.as", new ViolationPosition[]
-                  { new ViolationPosition( 50 ),
-                              new ViolationPosition( 51 ) } ) };
+                  { new ViolationPosition( 38 ),
+                              new ViolationPosition( 39 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/AvoidUsingPublicStaticFieldRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/AvoidUsingPublicStaticFieldRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/AvoidUsingPublicStaticFieldRuleTest.java
index 70b7b14..05aad80 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/AvoidUsingPublicStaticFieldRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/AvoidUsingPublicStaticFieldRuleTest.java
@@ -27,9 +27,9 @@ public class AvoidUsingPublicStaticFieldRuleTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "bug.FlexPMD115.as", new ViolationPosition[]
-       { new ViolationPosition( 36 ) } ),
+       { new ViolationPosition( 24 ) } ),
                   new ExpectedViolation( "Sorted.as", new ViolationPosition[]
-                  { new ViolationPosition( 47 ) } ) };
+                  { new ViolationPosition( 35 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/AvoidUsingWithKeyWordRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/AvoidUsingWithKeyWordRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/AvoidUsingWithKeyWordRuleTest.java
index 754b52c..a45fff5 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/AvoidUsingWithKeyWordRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/AvoidUsingWithKeyWordRuleTest.java
@@ -27,7 +27,7 @@ public class AvoidUsingWithKeyWordRuleTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "GoodComponent.as", new ViolationPosition[]
-      { new ViolationPosition( 54 ) } ) };
+      { new ViolationPosition( 42 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/ClassAndExtensionAreIdenticalRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/ClassAndExtensionAreIdenticalRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/ClassAndExtensionAreIdenticalRuleTest.java
index a6d10cb..e854c09 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/ClassAndExtensionAreIdenticalRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/ClassAndExtensionAreIdenticalRuleTest.java
@@ -27,7 +27,7 @@ public class ClassAndExtensionAreIdenticalRuleTest extends AbstractAstFlexRuleTe
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "GenericType.as", new ViolationPosition[]
-      { new ViolationPosition( 33 ) } ) };
+      { new ViolationPosition( 21 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/DynamicClassRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/DynamicClassRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/DynamicClassRuleTest.java
index ef47656..027f234 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/DynamicClassRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/DynamicClassRuleTest.java
@@ -27,7 +27,7 @@ public class DynamicClassRuleTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "com.adobe.ac.ncss.event.DynamicCustomEvent.as", new ViolationPosition[]
-      { new ViolationPosition( 33 ) } ) };
+      { new ViolationPosition( 21 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/EmptyStatementRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/EmptyStatementRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/EmptyStatementRuleTest.java
index 8c9b6d8..6bcb6b2 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/EmptyStatementRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/EmptyStatementRuleTest.java
@@ -27,11 +27,11 @@ public class EmptyStatementRuleTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "AbstractRowData.as", new ViolationPosition[]
-       { new ViolationPosition( 113 ) } ),
+       { new ViolationPosition( 101 ) } ),
                   new ExpectedViolation( "PngEncoder.as", new ViolationPosition[]
-                  { new ViolationPosition( 569 ) } ),
+                  { new ViolationPosition( 552 ) } ),
                   new ExpectedViolation( "com.adobe.ac.ncss.LongSwitch.as", new ViolationPosition[]
-                  { new ViolationPosition( 114 ) } ) };
+                  { new ViolationPosition( 102 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/ExcessiveImportRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/ExcessiveImportRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/ExcessiveImportRuleTest.java
index 0de5b39..3822a6a 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/ExcessiveImportRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/ExcessiveImportRuleTest.java
@@ -27,11 +27,11 @@ public class ExcessiveImportRuleTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "cairngorm.LightController.as", new ViolationPosition[]
-       { new ViolationPosition( 94 ) } ),
+       { new ViolationPosition( 82 ) } ),
                   new ExpectedViolation( "cairngorm.FatController.as", new ViolationPosition[]
-                  { new ViolationPosition( 95 ) } ),
+                  { new ViolationPosition( 83 ) } ),
                   new ExpectedViolation( "com.adobe.ac.ncss.BigImporterModel.as", new ViolationPosition[]
-                  { new ViolationPosition( 54 ) } ) };
+                  { new ViolationPosition( 42 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/NonStaticConstantFieldRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/NonStaticConstantFieldRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/NonStaticConstantFieldRuleTest.java
index 925f232..6a6b2b3 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/NonStaticConstantFieldRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/NonStaticConstantFieldRuleTest.java
@@ -27,20 +27,20 @@ public class NonStaticConstantFieldRuleTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "bug.FlexPMD115.as", new ViolationPosition[]
-       { new ViolationPosition( 38 ),
-                   new ViolationPosition( 40 ) } ),
+       { new ViolationPosition( 26 ),
+                   new ViolationPosition( 28 ) } ),
                   new ExpectedViolation( "AbstractRowData.as", new ViolationPosition[]
-                  { new ViolationPosition( 45 ),
-                              new ViolationPosition( 46 ),
-                              new ViolationPosition( 47 ),
-                              new ViolationPosition( 48 ),
-                              new ViolationPosition( 50 ) } ),
+                  { new ViolationPosition( 33 ),
+                              new ViolationPosition( 34 ),
+                              new ViolationPosition( 35 ),
+                              new ViolationPosition( 36 ),
+                              new ViolationPosition( 38 ) } ),
                   new ExpectedViolation( "Sorted.as", new ViolationPosition[]
-                  { new ViolationPosition( 43 ) } ),
+                  { new ViolationPosition( 31 ) } ),
                   new ExpectedViolation( "GenericType.as", new ViolationPosition[]
-                  { new ViolationPosition( 36 ) } ),
+                  { new ViolationPosition( 24 ) } ),
                   new ExpectedViolation( "com.adobe.ac.ncss.ArrayVO.as", new ViolationPosition[]
-                  { new ViolationPosition( 39 ) } ) };
+                  { new ViolationPosition( 27 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/OnlyOneReturnRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/OnlyOneReturnRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/OnlyOneReturnRuleTest.java
index 2d545e6..1715178 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/OnlyOneReturnRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/OnlyOneReturnRuleTest.java
@@ -29,10 +29,10 @@ public class OnlyOneReturnRuleTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "PngEncoder.as", new ViolationPosition[]
-       { new ViolationPosition( 189 ),
-                   new ViolationPosition( 609 ) } ),
+       { new ViolationPosition( 172 ),
+                   new ViolationPosition( 592 ) } ),
                   new ExpectedViolation( "com.adobe.ac.AbstractRowData.as", new ViolationPosition[]
-                  { new ViolationPosition( 66 ) } ) };
+                  { new ViolationPosition( 54 ) } ) };
 
    }
 

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/ProtectedStaticMethodRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/ProtectedStaticMethodRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/ProtectedStaticMethodRuleTest.java
index f507ac8..d4bf9c5 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/ProtectedStaticMethodRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/ProtectedStaticMethodRuleTest.java
@@ -27,7 +27,7 @@ public class ProtectedStaticMethodRuleTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "Sorted.as", new ViolationPosition[]
-      { new ViolationPosition( 60 ) } ) };
+      { new ViolationPosition( 48 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/ReferenceToVariableBindingFromItsInitializerRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/ReferenceToVariableBindingFromItsInitializerRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/ReferenceToVariableBindingFromItsInitializerRuleTest.java
index 148147a..058d04e 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/ReferenceToVariableBindingFromItsInitializerRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/ReferenceToVariableBindingFromItsInitializerRuleTest.java
@@ -27,10 +27,10 @@ public class ReferenceToVariableBindingFromItsInitializerRuleTest extends Abstra
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "bug.FlexPMD115.as", new ViolationPosition[]
-      { new ViolationPosition( 36 ),
-                  new ViolationPosition( 39 ),
-                  new ViolationPosition( 35 ),
-                  new ViolationPosition( 38 ) } ) };
+      { new ViolationPosition( 24 ),
+                  new ViolationPosition( 27 ),
+                  new ViolationPosition( 23 ),
+                  new ViolationPosition( 26 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/TrueFalseConditionRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/TrueFalseConditionRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/TrueFalseConditionRuleTest.java
index b60b6aa..131fa35 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/TrueFalseConditionRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/TrueFalseConditionRuleTest.java
@@ -27,25 +27,25 @@ public class TrueFalseConditionRuleTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "PngEncoder.as", new ViolationPosition[]
-       { new ViolationPosition( 574 ),
-                   new ViolationPosition( 576 ),
-                   new ViolationPosition( 578 ),
-                   new ViolationPosition( 584 ) } ),
+       { new ViolationPosition( 557 ),
+                   new ViolationPosition( 559 ),
+                   new ViolationPosition( 561 ),
+                   new ViolationPosition( 567 ) } ),//3rdVialoation
                   new ExpectedViolation( "Looping.as", new ViolationPosition[]
-                  { new ViolationPosition( 44 ),
-                              new ViolationPosition( 57 ),
-                              new ViolationPosition( 66 ),
-                              new ViolationPosition( 69 ) } ),
+                  { new ViolationPosition( 32 ),
+                              new ViolationPosition( 45 ),
+                              new ViolationPosition( 54 ),
+                              new ViolationPosition( 57 ) } ),
                   new ExpectedViolation( "RadonDataGrid.as", new ViolationPosition[]
-                  { new ViolationPosition( 63 ),
-                              new ViolationPosition( 194 ) } ),
+                  { new ViolationPosition( 51 ),
+                              new ViolationPosition( 182 ) } ),
                   new ExpectedViolation( "bug.FlexPMD181.as", new ViolationPosition[]
-                  { new ViolationPosition( 2222 ) } ),
+                  { new ViolationPosition( 2210 ) } ),
                   new ExpectedViolation( "AbstractRowData.as", new ViolationPosition[]
-                  { new ViolationPosition( 106 ),
-                              new ViolationPosition( 113 ) } ),
+                  { new ViolationPosition( 94 ),
+                              new ViolationPosition( 101 ) } ),
                   new ExpectedViolation( "com.adobe.ac.AbstractRowData.as", new ViolationPosition[]
-                  { new ViolationPosition( 59 ) } ) };
+                  { new ViolationPosition( 47 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/UselessOverridenFunctionRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/UselessOverridenFunctionRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/UselessOverridenFunctionRuleTest.java
index c85e5c6..6135c17 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/UselessOverridenFunctionRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/UselessOverridenFunctionRuleTest.java
@@ -27,9 +27,9 @@ public class UselessOverridenFunctionRuleTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "GoodComponent.as", new ViolationPosition[]
-       { new ViolationPosition( 38 ) } ),
+       { new ViolationPosition( 26 ) } ),
                   new ExpectedViolation( "AbstractRowData.as", new ViolationPosition[]
-                  { new ViolationPosition( 138 ) } ) };
+                  { new ViolationPosition( 126 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/forbiddenttypes/UseDictionaryTypeRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/forbiddenttypes/UseDictionaryTypeRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/forbiddenttypes/UseDictionaryTypeRuleTest.java
index 9b69058..d6a2d09 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/forbiddenttypes/UseDictionaryTypeRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/forbiddenttypes/UseDictionaryTypeRuleTest.java
@@ -28,7 +28,7 @@ public class UseDictionaryTypeRuleTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "Responder.as", new ViolationPosition[]
-      { new ViolationPosition( 36 ) } ) };
+      { new ViolationPosition( 24 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/forbiddenttypes/UseGenericTypeRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/forbiddenttypes/UseGenericTypeRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/forbiddenttypes/UseGenericTypeRuleTest.java
index f88a8e4..ab9265e 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/forbiddenttypes/UseGenericTypeRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/forbiddenttypes/UseGenericTypeRuleTest.java
@@ -30,11 +30,11 @@ public class UseGenericTypeRuleTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "GenericType.as", new ViolationPosition[]
-      { new ViolationPosition( 39 ),
-                  new ViolationPosition( 46 ),
-                  new ViolationPosition( 35 ),
-                  new ViolationPosition( 36 ),
-                  new ViolationPosition( 37 ) } ) };
+      { new ViolationPosition( 27 ),
+                  new ViolationPosition( 34 ),
+                  new ViolationPosition( 23 ),
+                  new ViolationPosition( 24 ),
+                  new ViolationPosition( 25 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/forbiddenttypes/UseObjectTypeRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/forbiddenttypes/UseObjectTypeRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/forbiddenttypes/UseObjectTypeRuleTest.java
index 6f8933a..accbde2 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/forbiddenttypes/UseObjectTypeRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/maintanability/forbiddenttypes/UseObjectTypeRuleTest.java
@@ -28,22 +28,22 @@ public class UseObjectTypeRuleTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "pseudo.look.IEditLook.as", new ViolationPosition[]
-       { new ViolationPosition( 34 ),
-                   new ViolationPosition( 35 ) } ),
+       { new ViolationPosition( 22 ),
+                   new ViolationPosition( 23 ) } ),
                   new ExpectedViolation( "flexpmd114.a.Test.as", new ViolationPosition[]
-                  { new ViolationPosition( 42 ) } ),
+                  { new ViolationPosition( 30 ) } ),
                   new ExpectedViolation( "flexpmd114.b.Test.as", new ViolationPosition[]
-                  { new ViolationPosition( 42 ) } ),
+                  { new ViolationPosition( 30 ) } ),
                   new ExpectedViolation( "flexpmd114.c.Test.as", new ViolationPosition[]
-                  { new ViolationPosition( 42 ) } ),
+                  { new ViolationPosition( 30 ) } ),
                   new ExpectedViolation( "Looping.as", new ViolationPosition[]
-                  { new ViolationPosition( 63 ) } ),
+                  { new ViolationPosition( 51 ) } ),
                   new ExpectedViolation( "com.adobe.ac.ncss.ConfigProxy.as", new ViolationPosition[]
-                  { new ViolationPosition( 42 ) } ),
+                  { new ViolationPosition( 30 ) } ),
                   new ExpectedViolation( "Sorted.as", new ViolationPosition[]
-                  { new ViolationPosition( 67 ) } ),
+                  { new ViolationPosition( 55 ) } ),
                   new ExpectedViolation( "AbstractRowData.as", new ViolationPosition[]
-                  { new ViolationPosition( 52 ) } ) };
+                  { new ViolationPosition( 40 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/multiscreen/AvoidTooltipRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/multiscreen/AvoidTooltipRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/multiscreen/AvoidTooltipRuleTest.java
index d5a6786..a3b57a8 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/multiscreen/AvoidTooltipRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/multiscreen/AvoidTooltipRuleTest.java
@@ -27,7 +27,7 @@ public class AvoidTooltipRuleTest extends AbstractRegExpBasedRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "DeleteButtonRenderer.mxml", new ViolationPosition[]
-      { new ViolationPosition( 36 ) } ) };
+      { new ViolationPosition( 22 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/mxml/CodeBehindInMxmlRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/mxml/CodeBehindInMxmlRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/mxml/CodeBehindInMxmlRuleTest.java
index cb3d1ae..f9860d6 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/mxml/CodeBehindInMxmlRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/mxml/CodeBehindInMxmlRuleTest.java
@@ -27,7 +27,7 @@ public class CodeBehindInMxmlRuleTest extends AbstractRegExpBasedRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "Main.mxml", new ViolationPosition[]
-      { new ViolationPosition( 58 ) } ) };
+      { new ViolationPosition( 44 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/mxml/MoreThanOneEntryPointInMxmlRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/mxml/MoreThanOneEntryPointInMxmlRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/mxml/MoreThanOneEntryPointInMxmlRuleTest.java
index a46d82c..9be97fa 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/mxml/MoreThanOneEntryPointInMxmlRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/mxml/MoreThanOneEntryPointInMxmlRuleTest.java
@@ -38,6 +38,6 @@ public class MoreThanOneEntryPointInMxmlRuleTest extends AbstractMoreThanEntryPo
    protected ViolationPosition[] iterationsListViolations()
    {
       return new ViolationPosition[]
-      { new ViolationPosition( 74 ) };
+      { new ViolationPosition( 60 ) };
    }
 }

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/mxml/MoreThanTwoEntryPointsInMxmlRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/mxml/MoreThanTwoEntryPointsInMxmlRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/mxml/MoreThanTwoEntryPointsInMxmlRuleTest.java
index c5a7f6a..173c8a6 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/mxml/MoreThanTwoEntryPointsInMxmlRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/mxml/MoreThanTwoEntryPointsInMxmlRuleTest.java
@@ -38,6 +38,6 @@ public class MoreThanTwoEntryPointsInMxmlRuleTest extends AbstractMoreThanEntryP
    protected ViolationPosition[] iterationsListViolations()
    {
       return new ViolationPosition[]
-      { new ViolationPosition( 74 ) };
+      { new ViolationPosition( 60 ) };
    }
 }

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/mxml/StaticMethodInMxmlRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/mxml/StaticMethodInMxmlRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/mxml/StaticMethodInMxmlRuleTest.java
index af6a3d0..1dd6a09 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/mxml/StaticMethodInMxmlRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/mxml/StaticMethodInMxmlRuleTest.java
@@ -27,7 +27,7 @@ public class StaticMethodInMxmlRuleTest extends AbstractAstFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "com.adobe.ac.ncss.mxml.IterationsList2.mxml", new ViolationPosition[]
-      { new ViolationPosition( 48 ) } ) };
+      { new ViolationPosition( 34 ) } ) };
    }
 
    @Override

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/84658ba5/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/mxml/TooLongScriptBlockRuleTest.java
----------------------------------------------------------------------
diff --git a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/mxml/TooLongScriptBlockRuleTest.java b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/mxml/TooLongScriptBlockRuleTest.java
index 31f025d..56e2893 100644
--- a/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/mxml/TooLongScriptBlockRuleTest.java
+++ b/FlexPMD/flex-pmd-java/flex-pmd-ruleset/src/test/java/com/adobe/ac/pmd/rules/mxml/TooLongScriptBlockRuleTest.java
@@ -33,13 +33,13 @@ public class TooLongScriptBlockRuleTest extends AbstractFlexRuleTest
    {
       return new ExpectedViolation[]
       { new ExpectedViolation( "bug.Duane.mxml", new ViolationPosition[]
-       { new ViolationPosition( 42, 142 ) } ),
+       { new ViolationPosition( 28, 128 ) } ),
                   new ExpectedViolation( "bug.FlexPMD233b.mxml", new ViolationPosition[]
-                  { new ViolationPosition( 63, 143 ) } ),
+                  { new ViolationPosition( 49, 129 ) } ),
                   new ExpectedViolation( "DeleteButtonRenderer.mxml", new ViolationPosition[]
-                  { new ViolationPosition( 49, 103 ) } ),
+                  { new ViolationPosition( 35, 89 ) } ),
                   new ExpectedViolation( "com.adobe.ac.ncss.mxml.IterationsList.mxml",
                                          new ViolationPosition[]
-                                         { new ViolationPosition( 40, 94 ) } ) };
+                                         { new ViolationPosition( 26, 80 ) } ) };
    }
 }


Mime
View raw message