Be consistent and use Integer.toString rather than String.valueOf.
Need to synchronize access to LEGACY_ID_FORMATTER.
Obsolete logic to delete build number symlinks.
Minimizing diff to master.
Integer.toString here too.