Opened 2 weeks ago

Closed 13 days ago

Last modified 13 days ago

#19918 closed enhancement (fixed)

Fix fixme request [patch]

Reported by: gaben Owned by: team
Priority: trivial Milestone: 20.10
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 2 weeks ago.

Download all attachments as: .zip

Change History (4)

Changed 2 weeks ago by gaben

Attachment: fix_fixme.patch added

comment:1 Changed 2 weeks ago by Klumbumbus

Summary: Fix fixme requestFix fixme request [patch]

comment:2 Changed 13 days 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 13 days 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.

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.