- 
                Notifications
    You must be signed in to change notification settings 
- Fork 323
Open
Description
suppose I have 2 entries :
- abcd.tmp
- abcd.tmp0
If I rename abcd.tmp to bcde.tmp, then abcd.tmp0 is also renamed to bcde.tmp0 !!!
This is probably related to this line :
| if (fileHeaderToBeChecked.getFileName().startsWith(fileHeaderToBeRenamed.getKey())) { | 
Every file headers that starts with the file to rename are matching, and so they get renamed by overwritting with the new name up to the len of the new name
Replacing startsWith method with equals should solve the problem
cinnamonmatexfce
Metadata
Metadata
Assignees
Labels
No labels