Fix javadoc syntax

Javadocs' {@code} inline syntax does not allow for closing curly braces inside the actual code.