-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What version of OpenRewrite are you using?
I am using
- Maven plugin v6.12.0
org.openrewrite.recipe:rewrite-static-analysis 2.16.0
How are you running OpenRewrite?
I am using the Maven plugin, and my project is a multi module project.
<plugin>
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<version>6.12.0</version>
<configuration>
<activeRecipes>
<recipe>org.operaton.recipe.CodeCleanup</recipe>
</activeRecipes>
...
</configuration>
</plugin>
With rewrite.yml
type: specs.openrewrite.org/v1beta/recipe
name: org.operaton.recipe.CodeCleanup
displayName: Code cleanup
description: Automatically cleanup code and common SAST issues, e.g. remove unnecessary parentheses, simplify expressions.
recipeList:
- org.openrewrite.staticanalysis.UnnecessaryThrows
What is the smallest, simplest way to reproduce the problem?

What did you expect to see?
void customStripSpaceXSL() throws Exception {
What did you see instead?
void customStripSpaceXSL() {
Are you interested in contributing a fix to OpenRewrite?
not on this one
timtebeek and greg-at-moderne
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Backlog