Ignore:
Timestamp:
2015-05-17T04:02:42+02:00 (9 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/io/NoteReader.java

    r8347 r8377  
    5555        private Action noteAction;
    5656        private Date commentCreateDate;
    57         private Boolean commentIsNew;
     57        private boolean commentIsNew;
    5858        private List<Note> notes;
    5959        private String commentText;
     
    119119                    commentIsNew = false;
    120120                } else {
    121                     commentIsNew = Boolean.valueOf(isNew);
     121                    commentIsNew = Boolean.parseBoolean(isNew);
    122122                }
    123123                break;
     
    145145                commentUsername = null;
    146146                commentCreateDate = null;
    147                 commentIsNew = null;
     147                commentIsNew = false;
    148148                commentText = null;
    149149            }
Note: See TracChangeset for help on using the changeset viewer.