remove leftovers
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/13f4070e Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/13f4070e Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/13f4070e Branch: refs/heads/master Commit: 13f4070eaa4f6333d6ad15704410db649644977f Parents: c409f58 Author: Jochen Kemnade <[email protected]> Authored: Mon Aug 3 10:53:15 2015 +0200 Committer: Jochen Kemnade <[email protected]> Committed: Mon Aug 3 10:53:15 2015 +0200 ---------------------------------------------------------------------- .../src/main/java/org/apache/tapestry5/dom/Element.java | 6 ------ 1 file changed, 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/13f4070e/tapestry-core/src/main/java/org/apache/tapestry5/dom/Element.java ---------------------------------------------------------------------- diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/dom/Element.java b/tapestry-core/src/main/java/org/apache/tapestry5/dom/Element.java index 00c1312..bf1eadf 100644 --- a/tapestry-core/src/main/java/org/apache/tapestry5/dom/Element.java +++ b/tapestry-core/src/main/java/org/apache/tapestry5/dom/Element.java @@ -21,7 +21,6 @@ import org.apache.tapestry5.ioc.util.Stack; import java.io.PrintWriter; import java.util.*; -import java.util.regex.Pattern; /** * An element that will render with a begin tag and attributes, a body, and an end tag. Also acts as a factory for @@ -42,10 +41,6 @@ public final class Element extends Node private final Document document; - private static final Pattern SPACES = Pattern.compile("\\s+"); - - private static final String[] EMPTY_ARRAY = new String[0]; - /** * URI of the namespace which contains the element. A quirk in XML is that the element may be in a namespace it * defines itself, so resolving the namespace to a prefix must wait until render time (since the Element is created @@ -961,7 +956,6 @@ public final class Element extends Node * * @return unmodifiable list of children nodes */ - @SuppressWarnings("unchecked") public List<Node> getChildren() { List<Node> result = CollectionFactory.newList();
