Uploaded image for project: 'Wise'
  1. Wise
  2. WISE-285

Inner classes should be static if possible

    XMLWordPrintable

Details

    • Bug
    • Status: New (View Workflow)
    • Minor
    • Resolution: Done
    • GWT-GUI 1.0.0
    • GWT-GUI 1.0.1
    • gwt-gui
    • None

    Description

      Inner classes should be static if possible.

      Reasoning: class is an inner class, but does not use its embedded reference to the object which created it. This reference makes the instances of the class larger, and may keep the reference to the creator object alive longer than necessary. If possible, the class should be made static.

      Attachments

        Issue Links

          Activity

            People

              rsvoboda@redhat.com Rostislav Svoboda
              rsvoboda@redhat.com Rostislav Svoboda
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: