Project

General

Profile

« Previous | Next » 

Revision 49d3c2dd

Added by Katja Luther over 1 year ago

ref #10186: remove conversation holder

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/key/polytomous/PolytomousKeyEditorInput.java
29 29
    private PolytomousKey key;
30 30

  
31 31

  
32
    protected PolytomousKeyEditorInput(ConversationHolder conversation,
33
            UUID polytomousKeyUuid) {
34
        super(conversation);
32
    protected PolytomousKeyEditorInput(UUID polytomousKeyUuid) {
33
        super();
35 34
        List<String> propertyPath = new ArrayList<>();
36 35
        propertyPath.add("root");
37 36
        propertyPath.add("root.*");
......
40 39

  
41 40
    public static PolytomousKeyEditorInput NewInstance(UUID polytomousKeyUuid) throws Exception{
42 41
        try{
43
            ConversationHolder conversation = CdmStore.createConversation();
44
            return new PolytomousKeyEditorInput(conversation, polytomousKeyUuid);
42
        	return new PolytomousKeyEditorInput( polytomousKeyUuid);
45 43
        }catch(Exception e){
46 44
            throw e;
47 45
        }

Also available in: Unified diff