Remove superfluous function

This commit is contained in:
Owen Stephens 2018-11-22 00:37:43 +00:00
parent 58352e4e56
commit 281d757f1c

View File

@ -236,21 +236,18 @@ public class ControlFunctionRegistry {
registerFunction("match", new Match()); registerFunction("match", new Match());
registerFunction("find", new Find()); registerFunction("find", new Find());
// HTML functions from JSoup // XML and HTML functions from JSoup
registerFunction("parseXml", new ParseXml());
registerFunction("parseHtml", new ParseHtml()); registerFunction("parseHtml", new ParseHtml());
registerFunction("select", new SelectXml()); registerFunction("select", new SelectXml());
registerFunction("xmlAttr", new XmlAttr());
registerFunction("htmlAttr", new XmlAttr()); registerFunction("htmlAttr", new XmlAttr());
registerFunction("xmlText", new XmlText());
registerFunction("htmlText", new XmlText()); registerFunction("htmlText", new XmlText());
registerFunction("innerXml", new InnerXml());
registerFunction("innerHtml", new InnerHtml()); registerFunction("innerHtml", new InnerHtml());
registerFunction("ownText", new OwnText()); registerFunction("ownText", new OwnText());
// XML functions from JSoup
registerFunction("parseXml", new ParseXml());
registerFunction("selectx", new SelectXml());
registerFunction("xmlAttr", new XmlAttr());
registerFunction("xmlText", new XmlText());
registerFunction("innerXml", new InnerXml());
registerFunction("indexOf", new IndexOf()); registerFunction("indexOf", new IndexOf());
registerFunction("lastIndexOf", new LastIndexOf()); registerFunction("lastIndexOf", new LastIndexOf());
registerFunction("startsWith", new StartsWith()); registerFunction("startsWith", new StartsWith());