TCI 1.1 RTF Avatar
  1. OMG Issue

TCI11 — Add clarification / comment to ViewportManager.getViewports method

  • Key: TCI11-8
  • Legacy Issue Number: 17062
  • Status: open  
  • Source: SimVentions ( Mr. Matthew Wilson)
  • Summary:

    The method getViewports() returns a Collection of Viewports. A user of this class may think modifying the contents of the Collection would modify the state of the ViewportManager.

    Resolution / Discussion:
    Explicitly state (and enforce) that the returned Collection is unmodifiable.

    Revised Text:
    Add sentence to section stating:
    The collection returned by this method is unmodifiable

  • Reported: TCI 1.0b2 — Thu, 26 Jan 2012 05:00 GMT
  • Updated: Wed, 1 Feb 2023 21:57 GMT