Uploaded image for project: 'SonarFlex'
  1. SonarFlex
  2. SONARFLEX-57

S1185: Add exception for final methods

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Add following exception

      The only time this is justified is in final overriding methods, where the effect is to lock in the parent class behavior. This rule ignores such overrides of valueOf, hasOwnProperty, toLocaleString and toString.

      AS3 Object http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              elena.vilchik Elena Vilchik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: