omegat icon indicating copy to clipboard operation
omegat copied to clipboard

Update FilUtil#backup, #removeOldBackup and its caller

Open miurahr opened this issue 2 years ago • 0 comments

Refactoring FileUtil#removeOldBackups and Update RealProject#loadTranslations to check backup file creation and record it as log message.

Pull request type

Please check the type of change your PR introduces:

  • [ ] Bug fix
  • [ ] Feature
  • [ ] Documentation
  • [ ] Build and release changes
  • [x] Other (describe below)

Improve safety and visibility of backup file creation

Which ticket is resolved?

  • Link:
  • Title:

What does this PR change?

  • use lambda in removeOldBackup method to improve code clearer
  • check return value from backup method and record it in log

Other information

miurahr avatar Sep 13 '22 05:09 miurahr