Ignore:
Timestamp:
2007-06-25T19:13:08+02:00 (18 years ago)
Author:
christofd
Message:

added comment, code beautification

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/ButtonDescription.java

    r2936 r3342  
    3030
    3131/**
     32 * this class represents a button as it is described in the xml file.
    3233 * @author cdaller
    3334 *
     
    8687        this.hotkey = hotkey;
    8788        this.iconName = iconName;
    88         this.type = type == null ? ButtonType.SINGLE : type;
     89        if(type == null) {
     90            this.type = ButtonType.SINGLE;
     91        } else {
     92            this.type = type;
     93        }
    8994        this.actions = actions;
    9095    }
Note: See TracChangeset for help on using the changeset viewer.