Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-23902

Found a private method that contains no code and is still called.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 4.0 (Release)
    • None
    • Focus Manager
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:
      1. open FocusManager
      2. go to the deactivateHandler method. here's the code:

      /**

      • @private Useful for debugging
        */
        private function deactivateHandler(event:Event):void { // var target:InteractiveObject = InteractiveObject(event.target); // trace("FM " + this + " deactivateHandler ", _lastFocus); }

      Actual Results:
      This method gets called. Since it is not protected, it cannot be overridden in eventual subclasses.
      So it's completely useless. Please remove it.

      Expected Results:
      Not calling a method that contains no code.

      Workaround (if any):
      None.

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: