- From: Mercurial notifier <nobody@w3.org>
- Date: Tue, 08 Jun 2010 13:40:33 -0400
- To: Unicorn Updates <www-validator-cvs@w3.org>
changeset: 1169:69074b267500 user: Thomas Gambet <tgambet@w3.org> date: Tue Jun 08 13:35:04 2010 -0400 files: src/org/w3c/unicorn/response/Response.java src/org/w3c/unicorn/response/impl/DefaultResponseXBeans.java description: removed execQuery method diff -r 7488d69ebf6c -r 69074b267500 src/org/w3c/unicorn/response/Response.java --- a/src/org/w3c/unicorn/response/Response.java Tue Jun 08 13:08:41 2010 -0400 +++ b/src/org/w3c/unicorn/response/Response.java Tue Jun 08 13:35:04 2010 -0400 @@ -67,8 +67,6 @@ public void setObserverId(String obsId); - public String[] execQuery(String query); - public String[] selectPath(String xpath); public boolean evaluateXPath(String xpathQuery); diff -r 7488d69ebf6c -r 69074b267500 src/org/w3c/unicorn/response/impl/DefaultResponseXBeans.java --- a/src/org/w3c/unicorn/response/impl/DefaultResponseXBeans.java Tue Jun 08 13:08:41 2010 -0400 +++ b/src/org/w3c/unicorn/response/impl/DefaultResponseXBeans.java Tue Jun 08 13:35:04 2010 -0400 @@ -232,17 +232,6 @@ return true; return false; } - - public String[] execQuery(String query) { - XmlObject[] objects = or.execQuery(query); - String[] result = new String[objects.length]; - int i = 0; - for (XmlObject obj : objects) { - result[i] = obj.toString(); - i++; - } - return result; - } public String[] selectPath(String xpath) { XmlObject[] objects = or.selectPath(xpath);
Received on Tuesday, 8 June 2010 17:42:47 UTC