diff options
author | Tor Norbye <tnorbye@google.com> | 2012-09-11 11:03:42 -0700 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2012-09-11 11:03:42 -0700 |
commit | 73f548922da783ff72a8d71eb13d8c63195bd39b (patch) | |
tree | baad8e0928d31f948b225905cb843054d4844d51 | |
parent | a6054a822ec18e54ba1e35c85e38ee58898d48d7 (diff) | |
download | sdk-73f548922da783ff72a8d71eb13d8c63195bd39b.zip sdk-73f548922da783ff72a8d71eb13d8c63195bd39b.tar.gz sdk-73f548922da783ff72a8d71eb13d8c63195bd39b.tar.bz2 |
Work around missing DOM method implementation in Eclipe 3.6
Change-Id: I67b37a0511dfba210dbcef393ee7610cef8b56a2
-rw-r--r-- | lint/libs/lint_checks/src/com/android/tools/lint/checks/TypoDetector.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lint/libs/lint_checks/src/com/android/tools/lint/checks/TypoDetector.java b/lint/libs/lint_checks/src/com/android/tools/lint/checks/TypoDetector.java index ad3b7a3..0eb9866 100644 --- a/lint/libs/lint_checks/src/com/android/tools/lint/checks/TypoDetector.java +++ b/lint/libs/lint_checks/src/com/android/tools/lint/checks/TypoDetector.java @@ -169,7 +169,7 @@ public class TypoDetector extends ResourceXmlDetector { private void visit(XmlContext context, Node node) { if (node.getNodeType() == Node.TEXT_NODE) { // TODO: Figure out how to deal with entities - check(context, node, node.getTextContent()); + check(context, node, node.getNodeValue()); } else { NodeList children = node.getChildNodes(); for (int i = 0, n = children.getLength(); i < n; i++) { |