[FIX] CheckStyle warnings in `ReplaceDoc`.
Merge pull request #1000 from LeoWoerteler/checkstyle

[FIX] CheckStyle warnings in `ReplaceDoc`.