mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 12:02:20 +00:00
* Simplify AtomicFileWriter and use clearer temporary file names * Uses a more readable name for the temporary file, derived from the target path * Streamline the fallback logic for atomic move, and just let the error bubble up otherwise rather than logging then throwing which was leading to duplicate stacktraces in the system logs Related to https://github.com/jenkinsci/jenkins/pull/2548#discussion_r79500936 * Persist fallback to non-atomic move if filesystem throws AtomicMoveNotSupportedException * Extract to a static method * Fix reviews