Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Motivation: default Enum.toString() returns Enum.name(), which is string of enum, e.g. MD5_TYPE.toString() -> "MD5_TYPE". Nevertheless, by converting string form into ChecksumType, we expect checksum algorithm name. This happens when we read configuration files and have to create corresponding objects. Modification: add ChecksumType.toString() to return type name. Result: The correct string form is produced, which is used by various dcache admin commands and configuration files. Ticket: #8941 Acked-by: Gerd Behrmann Target: master, 2.15, 2.14, 2.13, (2.12, 2.11, 2.12). Require-book: no Require-notes: no (cherry picked from commit 047e1d1) Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
- Loading branch information