X-Git-Url: https://gitweb.fperrin.net/?p=GpsPrune.git;a=blobdiff_plain;f=src%2Ftim%2Fprune%2Fload%2FJpegLoader.java;h=471226f2919dc15c634454a2ce352e69039b20df;hp=3e22eba029ccb76ce341a2fffaea6327669a28f1;hb=HEAD;hpb=2302358503c38817e19f6e529f6c9e530aac0e86 diff --git a/src/tim/prune/load/JpegLoader.java b/src/tim/prune/load/JpegLoader.java index 3e22eba..471226f 100644 --- a/src/tim/prune/load/JpegLoader.java +++ b/src/tim/prune/load/JpegLoader.java @@ -256,11 +256,9 @@ public class JpegLoader implements Runnable, Cancellable if (timestamp == null) { timestamp = new TimestampUtc(inFile.lastModified()); } - // Apply timestamp to photo and its point (if any) + // Apply timestamp to photo (but not its point) photo.setTimestamp(timestamp); - if (photo.getDataPoint() != null) { - // photo.getDataPoint().setFieldValue(Field.TIMESTAMP, timestamp.getText(Timestamp.Format.ISO8601), false); - } + return photo; }