Project

General

Profile

« Previous | Next » 

Revision a27635bd

Added by Andreas Müller almost 2 years ago

ref #10072 adapt vaadin to log4j2 and cleanup

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/view/reference/ReferenceEditorPresenter.java
14 14
import java.util.List;
15 15
import java.util.UUID;
16 16

  
17
import org.apache.log4j.Logger;
18 17
import org.springframework.context.annotation.Scope;
19 18
import org.vaadin.spring.events.annotation.EventBusListenerMethod;
20 19
import org.vaadin.viritin.fields.CaptionGenerator;
......
56 55
/**
57 56
 * @author a.kohlbecker
58 57
 * @since Apr 5, 2017
59
 *
60 58
 */
61 59
@SpringComponent
62 60
@Scope("prototype")
......
64 62

  
65 63
    private static final long serialVersionUID = -7926116447719010837L;
66 64

  
67
    private static final Logger logger = Logger.getLogger(ReferenceEditorPresenter.class);
68

  
69 65
    ReferencePopupEditor inReferencePopup = null;
70 66

  
71 67
    CdmFilterablePagingProvider<Reference, Reference> inReferencePagingProvider;
......
76 72

  
77 73
    }
78 74

  
79

  
80
    /**
81
     * {@inheritDoc}
82
     */
83 75
    @Override
84 76
    public void handleViewEntered() {
85 77
        super.handleViewEntered();
......
116 108
                AnnotationType.EDITORIAL().getUuid(), AnnotationType.TECHNICAL().getUuid()));
117 109
    }
118 110

  
119

  
120
    /**
121
     * @param inReferencePagingProvider
122
     */
123 111
    public void updateInReferencePageProvider() {
124 112

  
125 113
        inReferencePagingProvider = pagingProviderFactory.inReferencePagingProvider((ReferenceType) getView().getTypeSelect().getValue(), false);
......
137 125
        getView().getInReferenceCombobox().loadFrom(inReferencePagingProvider, inReferencePagingProvider, inReferencePagingProvider.getPageSize());
138 126
    }
139 127

  
140

  
141

  
142 128
    protected static BeanInstantiator<Reference> defaultBeanInstantiator = new BeanInstantiator<Reference>() {
143 129

  
144 130
        @Override

Also available in: Unified diff