Switched to using codePoints in toHtmlEntities
This commit is contained in:
parent
772ffd55f4
commit
b3930804c6
3 changed files with 13 additions and 8 deletions
|
@ -37,8 +37,8 @@ public class Rot13 implements ValueRenderer {
|
|||
/**
|
||||
* Translates a String to/from ROT13.
|
||||
*
|
||||
* @param src The source String.
|
||||
* @return The translated String.
|
||||
* @param src the source String.
|
||||
* @return the translated String.
|
||||
*/
|
||||
public static String rot13(String src) {
|
||||
if (src == null || src.isEmpty()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue