Changeset 19427 in josm


Ignore:
Timestamp:
2025-07-12T22:05:56+02:00 (4 months ago)
Author:
stoecker
Message:

fix PMD

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/gpx/GpxImageEntry.java

    r19426 r19427  
    345345    @Override
    346346    public Instant getTimeSourceInstant(TimeSource timeSource) {
    347         switch (timeSource) {
    348             case EXIFGPSTIME:
    349                 return getExifGpsInstant();
    350             case EXIFCAMTIME:
    351                 return getExifInstant();
    352         }
     347        if (timeSource == TimeSource.EXIFGPSTIME)
     348            return getExifGpsInstant();
     349        else if (timeSource == TimeSource.EXIFCAMTIME)
     350            return getExifInstant();
    353351        return null;
    354352    }
Note: See TracChangeset for help on using the changeset viewer.