Project

General

Profile

« Previous | Next » 

Revision 2200da88

Added by Patrick Plitzner over 9 years ago

  • fixed class cast to more generic type

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/media/MediaMetaElement.java
7 7

  
8 8
import eu.etaxonomy.cdm.hibernate.HibernateProxyHelper;
9 9
import eu.etaxonomy.cdm.model.agent.AgentBase;
10
import eu.etaxonomy.cdm.model.agent.TeamOrPersonBase;
11 10
import eu.etaxonomy.cdm.model.common.LanguageString;
12 11
import eu.etaxonomy.cdm.model.media.Media;
13 12
import eu.etaxonomy.taxeditor.store.CdmStore;
......
81 80
        this.entity = element;
82 81
        mediaDetailElement.setEntity(element);
83 82

  
84
        selection_artist.setEntity((TeamOrPersonBase<?>) HibernateProxyHelper
83
        selection_artist.setEntity((AgentBase<?>) HibernateProxyHelper
85 84
                .deproxy(element.getArtist()));
86 85

  
87 86
        text_description.setLanguageString(element.getDescription(CdmStore

Also available in: Unified diff