Ignore:
Timestamp:
2016-04-10T16:57:50+02:00 (8 years ago)
Author:
Don-vip
Message:

sonar, javadoc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/upload/UploadNotesTask.java

    r9486 r10134  
    8989                Note newNote;
    9090                switch (comment.getNoteAction()) {
    91                 case opened:
     91                case OPENED:
    9292                    if (Main.isDebugEnabled()) {
    9393                        Main.debug("opening new note");
     
    9595                    newNote = api.createNote(note.getLatLon(), comment.getText(), monitor);
    9696                    break;
    97                 case closed:
     97                case CLOSED:
    9898                    if (Main.isDebugEnabled()) {
    9999                        Main.debug("closing note " + note.getId());
     
    101101                    newNote = api.closeNote(note, comment.getText(), monitor);
    102102                    break;
    103                 case commented:
     103                case COMMENTED:
    104104                    if (Main.isDebugEnabled()) {
    105105                        Main.debug("adding comment to note " + note.getId());
     
    107107                    newNote = api.addCommentToNote(note, comment.getText(), monitor);
    108108                    break;
    109                 case reopened:
     109                case REOPENED:
    110110                    if (Main.isDebugEnabled()) {
    111111                        Main.debug("reopening note " + note.getId());
Note: See TracChangeset for help on using the changeset viewer.