Changeset 10671 in josm


Ignore:
Timestamp:
2016-07-29T00:06:51+02:00 (8 years ago)
Author:
Don-vip
Message:

see #12472 - fix "MissingCasesInEnumSwitch" warnings

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/command/conflict/TagConflictResolveCommand.java

    r9371 r10671  
    6969                return trn("Resolve {0} tag conflict in relation {1}", "Resolve {0} tag conflicts in relation {1}",
    7070                        getNumDecidedConflicts(), getNumDecidedConflicts(), conflict.getMy().getId());
     71            default:
     72                return "";
    7173        }
    72         return "";
    7374    }
    7475
  • trunk/src/org/openstreetmap/josm/io/MultiFetchServerObjectReader.java

    r10378 r10671  
    147147        case RELATION:
    148148            return appendRelation((Relation) p);
    149         }
    150         return this;
     149        default:
     150            return this;
     151        }
    151152    }
    152153
     
    217218                case WAY: return appendWay((Way) primitive);
    218219                case RELATION: return appendRelation((Relation) primitive);
     220                default: break;
    219221            }
    220222        }
Note: See TracChangeset for help on using the changeset viewer.