Track.events is not accessible and should be removed

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 5.0
    • Affects Version/s: 5.0
    • Component/s: client-libs
    • tiger
    • generic
    • generic



      Name: fb126949 Date: 09/20/2003


      The class Track in package javax.sound.midi contains a protected field "Vector events" which can never be used. Track has a package-private default constructor, so it can never be instanciated outside of that package, and therefore it cannot be subclassed. Therefore, the events field is superflous (and not used in the implementation anyway) and should be removed to prevent hacks like putting an accessor class into the javax.sound.midi package in order to have direct access to that vector.


      ======================================================================

            Assignee:
            Florian Bomers (Inactive)
            Reporter:
            Florian Bomers (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: