fix javadoc errors that prevent compilation in Eclipse

This commit is contained in:
John Aylward
2021-07-22 22:54:46 -04:00
parent 449ec8745e
commit 4e0faebe62
5 changed files with 14 additions and 17 deletions

View File

@@ -188,7 +188,7 @@ public class JSONPointer {
}
/**
* @see https://tools.ietf.org/html/rfc6901#section-3
* @see <a href="https://tools.ietf.org/html/rfc6901#section-3">rfc6901 section 3</a>
*/
private static String unescape(String token) {
return token.replace("~1", "/").replace("~0", "~");
@@ -268,7 +268,7 @@ public class JSONPointer {
* @param token the JSONPointer segment value to be escaped
* @return the escaped value for the token
*
* @see https://tools.ietf.org/html/rfc6901#section-3
* @see <a href="https://tools.ietf.org/html/rfc6901#section-3">rfc6901 section 3</a>
*/
private static String escape(String token) {
return token.replace("~", "~0")