Project

General

Profile

« Previous | Next » 

Revision c7627153

Added by Andreas Kohlbecker about 7 years ago

ref #6169 message count indicator, edit reference button and impoved layout

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/model/registration/RegistrationWorkingSet.java
30 30

  
31 31
    private List<RegistrationDTO> registrationDTOs = new ArrayList<>();
32 32

  
33
    private int citationId = -1;
33
    private Integer citationId = null;
34 34

  
35 35
    private DateTime created = null;
36 36

  
......
74 74
            problems = new ArrayList<>();
75 75
        }
76 76
        for(RegistrationDTO regDto : candidates){
77
                if(citationId == -1){
77
                if(citationId == null){
78 78
                    citationId = regDto.getCitationID();
79 79
                    citation = regDto.getCitation();
80 80
                } else {
......
155 155
    /**
156 156
     * @return the citationId
157 157
     */
158
    public int getCitationId() {
158
    public Integer getCitationId() {
159 159
        return citationId;
160 160
    }
161 161

  

Also available in: Unified diff