This is an automated email from the ASF dual-hosted git repository. juanpablo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/jspwiki.git
commit 2b2a8792c1acebf932b57bfcb894009c741b11ae Author: juanpablo <[email protected]> AuthorDate: Sat Aug 17 01:15:05 2019 +0200 removal of @deprecated code (7) - JSPWikiMarkupParser: * JSPWikiMarkupParser.isExternalLink(String) -> use instead LinkParsingOperations#isExternalLink(String) * JSPWikiMarkupParser.isPluginLink(String) -> use instead LinkParsingOperations#isPluginLink(String) --- .../apache/wiki/parser/JSPWikiMarkupParser.java | 33 ---------------------- 1 file changed, 33 deletions(-) diff --git a/jspwiki-main/src/main/java/org/apache/wiki/parser/JSPWikiMarkupParser.java b/jspwiki-main/src/main/java/org/apache/wiki/parser/JSPWikiMarkupParser.java index f0b9ab5..9e548b5 100644 --- a/jspwiki-main/src/main/java/org/apache/wiki/parser/JSPWikiMarkupParser.java +++ b/jspwiki-main/src/main/java/org/apache/wiki/parser/JSPWikiMarkupParser.java @@ -440,39 +440,6 @@ public class JSPWikiMarkupParser extends MarkupParser { return el; } - - /** - * Figures out if a link is an off-site link. This recognizes - * the most common protocols by checking how it starts. - * - * @param link The link to check. - * @return true, if this is a link outside of this wiki. - * @since 2.4 - * @deprecated - use {@link LinkParsingOperations#isExternalLink(String)} instead. - */ - @Deprecated - public static boolean isExternalLink( String link ) - { - return new LinkParsingOperations(null).isExternalLink( link ); - } - - /** - * Returns true if the link is really command to insert - * a plugin. - * <P> - * Currently we just check if the link starts with "{INSERT", - * or just plain "{" but not "{$". - * - * @param link Link text, i.e. the contents of text between []. - * @return True, if this link seems to be a command to insert a plugin here. - * @deprecated Use {@link LinkParsingOperations#isPluginLink(String)} instead, - */ - @Deprecated - public static boolean isPluginLink( String link ) - { - return new LinkParsingOperations( null ).isPluginLink( link ); - } - /** * These are all of the HTML 4.01 block-level elements. */
