Ignore:
Timestamp:
2015-05-17T04:02:42+02:00 (5 years ago)
Author:
Don-vip
Message:

performance - remove useless boxing of boolean constants

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/notes/NoteComment.java

    r7451 r8377  
    1818
    1919    //not currently used. I'm planning on using this to keep track of new actions that need to be uploaded
    20     private Boolean isNew;
     20    private boolean isNew;
    2121
    2222    /**
     
    3333     * @param isNew Whether or not this comment is new and needs to be uploaded
    3434     */
    35     public NoteComment(Date createDate, User user, String commentText, Action action, Boolean isNew) {
     35    public NoteComment(Date createDate, User user, String commentText, Action action, boolean isNew) {
    3636        this.text = commentText;
    3737        this.user = user;
     
    6161    }
    6262
    63     public void setIsNew(Boolean isNew) {
     63    public void setIsNew(boolean isNew) {
    6464        this.isNew = isNew;
    6565    }
    6666
    6767    /** @return true if this is a new comment/action and needs to be uploaded to the API */
    68     public Boolean getIsNew() {
     68    public boolean getIsNew() {
    6969        return isNew;
    7070    }
Note: See TracChangeset for help on using the changeset viewer.