Ignore:
Timestamp:
2014-12-13T01:07:04+01:00 (9 years ago)
Author:
Don-vip
Message:

fix some Sonar issues

Location:
trunk/src/org/openstreetmap/josm/io
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/GpxReader.java

    r7575 r7801  
    405405                    break;
    406406                case "time":
    407                     currentWayPoint.put(localName, accumulator.toString());
    408                     currentWayPoint.setTime();
    409                     break;
    410407                case "cmt":
    411408                case "desc":
  • trunk/src/org/openstreetmap/josm/io/OsmChangesetContentParser.java

    r7082 r7801  
    8484                data.put(currentPrimitive, currentModificationType);
    8585                break;
    86             case "osmChange":
    87                 // do nothing
    88                 break;
    8986            case "create":
    90                 currentModificationType = null;
    91                 break;
    9287            case "modify":
    93                 currentModificationType = null;
    94                 break;
    9588            case "delete":
    9689                currentModificationType = null;
    9790                break;
     91            case "osmChange":
    9892            case "tag":
    9993            case "nd":
  • trunk/src/org/openstreetmap/josm/io/remotecontrol/DNSName.java

    r7592 r7801  
    101101     * Return the type of the GeneralName.
    102102     */
     103    @Override
    103104    public int getType() {
    104105        return GeneralNameInterface.NAME_DNS;
     
    119120     * @exception IOException on encoding errors.
    120121     */
     122    @Override
    121123    public void encode(DerOutputStream out) throws IOException {
    122124        out.putIA5String(name);
Note: See TracChangeset for help on using the changeset viewer.