Opened 20 months ago

Closed 20 months ago

Last modified 18 months ago

#19918 closed enhancement (fixed)

Fix fixme request [patch]

Reported by: gaben Owned by: team
Priority: trivial Milestone: 20.11
Component: Core Version:
Keywords: Cc:


r3686 introduced a fixme comment which asks help to sort files by modify time.

Is it needed? 10 years passed and no modifications made since. If yes, add these lines:

import java.util.Comparator;
Arrays.sort(files, Comparator.comparingLong(File::lastModified));

Attachments (1)

fix_fixme.patch (925 bytes) - added by gaben 20 months ago.

Download all attachments as: .zip

Change History (5)

Changed 20 months ago by gaben

Attachment: fix_fixme.patch added

comment:1 Changed 20 months ago by Klumbumbus

Summary: Fix fixme requestFix fixme request [patch]

comment:2 Changed 20 months ago by simon04

Resolution: fixed
Status: newclosed

In 17181/josm:

fix #19918 - AutosaveTask: sort files by modify time (patch by gaben, modified)

comment:3 Changed 20 months ago by simon04

Milestone: 20.10

Thank you!

The sorting is relevant inside #moveToDeletedLayersFolder which removes layers until autosave.deletedLayersBackupCount=5 is no longer exceeded.

comment:4 Changed 18 months ago by Don-vip

Milestone: 20.1020.11

Milestone renamed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.