We are preparing to move this Jira installation to codehaus. Please wait and don't use this version for some days.

The AndroMDA project

Initialisation of collections with enabled generics not typesafe

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 3.1
  • Fix Version/s: 3.2
  • Component/s: None
  • Labels:
    None

Description

The initilaisation code for collections (creation of their HashSets) is not typesafe if enableTemplating (UMLMETA-58) is switched on. Old-style (non-generic) HashSet is created and directly assigned to the generic style collection in the Entiry class. Resulting in annoying warnings, if switched on.

Issue Links

Activity

Hide
Jens Vagts added a comment - 06/Jan/06 2:41 PM
Here the patch for the current cvs version!
Show
Jens Vagts added a comment - 06/Jan/06 2:41 PM Here the patch for the current cvs version!
Hide
Jens Vagts added a comment - 06/Jan/06 3:26 PM
Fix/added support for map (indexed collection).
Show
Jens Vagts added a comment - 06/Jan/06 3:26 PM Fix/added support for map (indexed collection).
Hide
Wouter Zoons added a comment - 28/Jan/06 12:04 AM
thanks for your patch Jens, works like a charm!
Show
Wouter Zoons added a comment - 28/Jan/06 12:04 AM thanks for your patch Jens, works like a charm!

People

Vote (0)
Watch (0)

Dates

  • Created:
    06/Jan/06 1:42 PM
    Updated:
    13/Aug/11 11:08 AM
    Resolved:
    30/Jan/06 4:48 PM