Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete argument example #9

Closed
Guseyn opened this issue Oct 5, 2020 · 1 comment
Closed

Delete argument example #9

Guseyn opened this issue Oct 5, 2020 · 1 comment

Comments

@Guseyn
Copy link

Guseyn commented Oct 5, 2020

I've tried to follow this example: https://docs.openrewrite.org/java/refactoring-java-source-code/deletemethodargument
But I get error:

Failed to execute goal org.openrewrite.maven:rewrite-maven-plugin:2.1.1:fix (default-cli) on project rewrite-example: Execution default-cli of goal org.openrewrite.maven:rewrite-maven-plugin:2.1.1:fix failed: Problem parsing rewrite configuration from: file:/Users/guseyn/java-projects/rewrite-example/recipes/rewrite4.yml
[ERROR] visitor was '{org.openrewrite.java.DeleteMethodArgument=null, method=ch.qos.logback.classic.Logger debug(org.slf4j.Marker,..), index=0}' but it must be constructable
@sambsnyd
Copy link
Member

The DeleteMethodArgument sample in your rewrite-java-definitions repo passes now, so I think the underlying bug here was fixed. Let me know if that isn't the case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants