diff --git a/rewrite-xml/src/main/java/org/openrewrite/xml/search/FindTags.java b/rewrite-xml/src/main/java/org/openrewrite/xml/search/FindTags.java index 215cf1ec3c1..c9021c0694d 100755 --- a/rewrite-xml/src/main/java/org/openrewrite/xml/search/FindTags.java +++ b/rewrite-xml/src/main/java/org/openrewrite/xml/search/FindTags.java @@ -33,7 +33,7 @@ public class FindTags extends Recipe { @Option(displayName = "XPath", description = "An XPath expression used to find matching tags.", example = "//dependencies/dependency") - String xpath; + String xPath; @Override public String getDisplayName() { @@ -47,7 +47,7 @@ public String getDescription() { @Override public TreeVisitor getVisitor() { - XPathMatcher matcher = new XPathMatcher(xpath); + XPathMatcher matcher = new XPathMatcher(xPath); return new XmlVisitor() { @Override