DaoBase does not compile when property enableTemplating=true
------------------------------------------------------------
Key: SPRING-197
URL: http://jira.andromda.org/browse/SPRING-197
Project: Spring Cartridge
Type: Bug
Versions: 3.2
Environment: MagicDraw 12.1
Reporter: Matthias Bohlen
Assigned to: Chad Brandon
When entity AudioRecord specializes entity Title, the generated
AudioRecordDaoBase class does not compile when Java 5 generics are switched on
(namespace property enableTemplating=true in the default namespace). The
compiler gives several error messages, one of them is this:
Name clash: The method create(Collection<AudioRecord>) of type
AudioRecordDaoBase has the same erasure as create(Collection<Title>) of type
TitleDaoBase but does not override it
Maybe, the correct way would be to generate "TitleDaoBase.create(Collection<?
extends Title>)", instead?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.andromda.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV