UUID parse opt' , javadoc fixes , other minor changes (IDEA inspections)

- removed superfluous String.format() calls
- replaced single character strings with chars
- replaced one regex with precompiled pattern
- replaced tail recursion with loop