Skip to content

Commit 9bcc84c

Browse files
committed
Put "xPath" parameter name back to appropriate camel casing now that we have fixed the serialization issue on the backend
1 parent 6f09e24 commit 9bcc84c

File tree

1 file changed

+2
-2
lines changed
  • rewrite-xml/src/main/java/org/openrewrite/xml/search

1 file changed

+2
-2
lines changed

rewrite-xml/src/main/java/org/openrewrite/xml/search/FindTags.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class FindTags extends Recipe {
3333
@Option(displayName = "XPath",
3434
description = "An XPath expression used to find matching tags.",
3535
example = "//dependencies/dependency")
36-
String xpath;
36+
String xPath;
3737

3838
@Override
3939
public String getDisplayName() {
@@ -47,7 +47,7 @@ public String getDescription() {
4747

4848
@Override
4949
public TreeVisitor<?, ExecutionContext> getVisitor() {
50-
XPathMatcher matcher = new XPathMatcher(xpath);
50+
XPathMatcher matcher = new XPathMatcher(xPath);
5151
return new XmlVisitor<ExecutionContext>() {
5252

5353
@Override

0 commit comments

Comments
 (0)