Project

General

Profile

Revision 700aa970

ID700aa9701850233f1004dea2a686a1634e77697c
Parent 5a36818d
Child 4cda0d0e

Added by Patrick Plitzner about 1 year ago

Fix potential NPE

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/description/StateData.java
179 179
     * @see #getCount()
180 180
     */
181 181
    public void incrementCount(){
182
        if(count==null){
183
            count = 0;
184
        }
182 185
        count++;
183 186
    }
184 187

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)