You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2019/09/22 23:53:46 UTC
[groovy] 01/04: don't use deprecated version of class
This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch GROOVY_3_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
commit 4e53e93fd496a466ac0d0dba5964e62fedec19fa
Author: Paul King <pa...@asert.com.au>
AuthorDate: Thu Sep 19 16:34:09 2019 +1000
don't use deprecated version of class
---
.../groovy/org/apache/groovy/groovysh/util/XmlCommandRegistrar.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/subprojects/groovy-groovysh/src/main/groovy/org/apache/groovy/groovysh/util/XmlCommandRegistrar.groovy b/subprojects/groovy-groovysh/src/main/groovy/org/apache/groovy/groovysh/util/XmlCommandRegistrar.groovy
index f0394e6..e77d66b 100644
--- a/subprojects/groovy-groovysh/src/main/groovy/org/apache/groovy/groovysh/util/XmlCommandRegistrar.groovy
+++ b/subprojects/groovy-groovysh/src/main/groovy/org/apache/groovy/groovysh/util/XmlCommandRegistrar.groovy
@@ -74,7 +74,7 @@ class XmlCommandRegistrar {
}
url.withReader { Reader reader ->
- groovy.util.Node doc = new groovy.util.XmlParser().parse(reader)
+ groovy.util.Node doc = new groovy.xml.XmlParser().parse(reader)
doc.children().each { groovy.util.Node element ->
String classname = element.text()