GitHub / openrewrite/rewrite-static-analysis issues and pull requests
#640 - Strings literals should be placed on the left side when checking for (equality)
Issue -
State: open - Opened by Pankraz76 17 days ago
Labels: enhancement
#639 - AddLicenseHeader collision
Issue -
State: open - Opened by Pankraz76 17 days ago
Labels: bug
#597 - Add regression test to verify that no default import order style is applied
Pull Request -
State: open - Opened by LakshyaKwatra about 1 month ago
#596 - Added unit test for minimum switch cases with bitwise operation.
Pull Request -
State: closed - Opened by LakshyaKwatra about 1 month ago
#595 - fix: filter out methods not invoked from an identifier
Pull Request -
State: closed - Opened by pdelagrave about 2 months ago
- 1 comment
Labels: bug
#594 - Order type annotations last
Pull Request -
State: closed - Opened by timtebeek about 2 months ago
Labels: enhancement
#593 - `TryWithResources` recipe
Pull Request -
State: open - Opened by knutwannheden about 2 months ago
- 2 comments
#592 - UseCollectionInterfaces might fail with UnsupportedOperationException
Issue -
State: closed - Opened by greg-at-moderne about 2 months ago
Labels: bug, recipe, test provided
#591 - use `try-with-resources` statement
Issue -
State: open - Opened by Pankraz76 about 2 months ago
- 6 comments
Labels: enhancement, recipe
#590 - Migrate Traits class usage to constructor calls
Pull Request -
State: closed - Opened by MBoegers about 2 months ago
#589 - `finalize` data type `Collection/Map`
Issue -
State: closed - Opened by Pankraz76 about 2 months ago
- 4 comments
Labels: enhancement
#588 - Fix typos
Pull Request -
State: closed - Opened by iddeepak about 2 months ago
#587 - Add `@Serial` from `JavaParser.dependsOn`
Pull Request -
State: closed - Opened by timtebeek about 2 months ago
#586 - @Serial are added twice when migrating to Java 21 and Spring Boot 3
Issue -
State: closed - Opened by fbeaufume about 2 months ago
- 10 comments
Labels: bug
#585 - Revert "Initialize JetBrains Junie 🚀"
Pull Request -
State: closed - Opened by knutwannheden about 2 months ago
#584 - Junie, please create HTML file with a heart.
Issue -
State: closed - Opened by knutwannheden about 2 months ago
#583 - Initialize JetBrains Junie 🚀
Pull Request -
State: closed - Opened by jetbrains-junie[bot] 2 months ago
#582 - Tests for ReplaceStackWithDeque fail as it produces invalid code
Issue -
State: closed - Opened by greg-at-moderne 2 months ago
- 2 comments
Labels: bug
#581 - Changed implementation in FallThroughVisitor to detect infinite loops
Pull Request -
State: closed - Opened by JohannisK 2 months ago
- 1 comment
Labels: bug
#580 - org.openrewrite.staticanalysis.UseObjectNotifyAll rewrites all `notify`methods
Issue -
State: open - Opened by koppor 2 months ago
- 3 comments
Labels: bug, question
#579 - Handle nested types in AnnotateNullableMethods
Pull Request -
State: closed - Opened by timtebeek 2 months ago
Labels: bug
#578 - Created AnnotateNullableParameters recipe
Pull Request -
State: closed - Opened by stefanodallapalma 2 months ago
- 11 comments
Labels: recipe
#577 - Do not pull Supertype-Cast to instanceof
Pull Request -
State: closed - Opened by dnl50 2 months ago
- 1 comment
#576 - Applying code suggestions
Pull Request -
State: closed - Opened by greg-at-moderne 2 months ago
#575 - fix: remove unnecessary continue in empty while loops
Pull Request -
State: open - Opened by juancaCeb 2 months ago
#574 - Add Regressiontest to verify no default import order style is applied
Issue -
State: open - Opened by JohannisK 2 months ago
Labels: enhancement
#573 - Remove default style choice from `CustomImportOrder`
Pull Request -
State: closed - Opened by Laurens-W 2 months ago
- 2 comments
Labels: bug
#572 - InstanceofPatternMatching recipe prefers type of cast instead of instanceof check
Issue -
State: closed - Opened by dnl50 2 months ago
- 1 comment
Labels: bug
#571 - CombineSemanticallyEqualCatchBlocks might fail with ClassCastException
Issue -
State: open - Opened by greg-at-moderne 2 months ago
- 3 comments
Labels: bug, good first issue, test provided
#570 - EmptyBlock adds unnecessary `continue` in empty while loops
Issue -
State: open - Opened by greg-at-moderne 2 months ago
- 1 comment
Labels: bug, good first issue
#569 - AnnotateNullableMethods to support ternary null returns
Pull Request -
State: closed - Opened by stefanodallapalma 2 months ago
- 2 comments
#568 - `MinimumSwitchCases` ignores switches with cases with more than 1 break.
Pull Request -
State: closed - Opened by JohannisK 2 months ago
#567 - Moved junit-platform.properties to test to prevent configuration inheritance
Pull Request -
State: closed - Opened by arodionov 2 months ago
#566 - Fallthrough should not add `break;` when statements contain a guaranteed return
Pull Request -
State: closed - Opened by JohannisK 2 months ago
#565 - No MethodReference for parentheses
Pull Request -
State: closed - Opened by timtebeek 2 months ago
#564 - RemoveUnusedAssignments
Issue -
State: open - Opened by iddeepak 2 months ago
Labels: recipe
#563 - Enhance RemoveUnusedLocalVariables to support filtering by type
Pull Request -
State: closed - Opened by bgalek 2 months ago
- 2 comments
Labels: enhancement
#562 - Enhance `RemoveUnusedLocalVariables` to support filtering by variable type
Issue -
State: closed - Opened by bgalek 2 months ago
- 3 comments
Labels: enhancement
#561 - org.openrewrite.staticanalysis.TypecastParenPad should not remove spaces
Issue -
State: closed - Opened by koppor 3 months ago
- 1 comment
Labels: bug, good first issue
#560 - Add recipe to remove unused constructor and method parameters
Pull Request -
State: open - Opened by iddeepak 3 months ago
- 13 comments
Labels: recipe
#559 - RemoveUnusedLocalParam
Issue -
State: open - Opened by Pankraz76 3 months ago
- 1 comment
Labels: enhancement, recipe
#558 - ReplaceCollectToListWithToList
Pull Request -
State: closed - Opened by Pankraz76 3 months ago
- 4 comments
#557 - Private method `findNodeById(java.util.List<org.apache.maven.api.xml.XmlNode>, java.lang.String)` is never used
Issue -
State: closed - Opened by Pankraz76 3 months ago
- 2 comments
Labels: bug
#556 - UnnecessaryFullyQualifiedName
Issue -
State: closed - Opened by Pankraz76 3 months ago
- 3 comments
Labels: enhancement
#555 - NoFinalizedLocalVariables - fix for J.Lambda.Parameters in LST
Pull Request -
State: closed - Opened by steve-aom-elliott 3 months ago
Labels: bug
#554 - Private field 'ONE_HOUR' is never used
Issue -
State: closed - Opened by Pankraz76 3 months ago
- 3 comments
Labels: bug
#553 - UnnecessaryThrows should not change API for protected methods
Pull Request -
State: closed - Opened by timtebeek 3 months ago
- 3 comments
#549 - TestNG matching for RemoveUnneededAssertion
Pull Request -
State: closed - Opened by steve-aom-elliott 3 months ago
Labels: enhancement, good first issue
#548 - Configurable NoFinalizedLocalVariables for excluding methods parameters
Pull Request -
State: closed - Opened by steve-aom-elliott 3 months ago
Labels: enhancement
#547 - Handle static method calls when removing unnecessary explicit type arguments.
Pull Request -
State: closed - Opened by JohannisK 3 months ago
Labels: bug, recipe
#546 - SimplifyConstantIfBranchExecution leaves unreachable code
Pull Request -
State: closed - Opened by steve-aom-elliott 3 months ago
Labels: bug
#545 - JavadocParagraph
Issue -
State: open - Opened by Pankraz76 3 months ago
- 3 comments
Labels: enhancement, good first issue, recipe
#544 - Reordering Annotations
Pull Request -
State: closed - Opened by steve-aom-elliott 3 months ago
- 5 comments
Labels: recipe
#543 - Java recipe to reorder annotations
Issue -
State: closed - Opened by greg-at-moderne 4 months ago
- 9 comments
Labels: enhancement, good first issue, recipe
#542 - CustomImportOrder recipe
Pull Request -
State: closed - Opened by mankoffs 3 months ago
- 4 comments
Labels: recipe
#541 - Enable custom Serial Version UID
Pull Request -
State: closed - Opened by yuri1969 3 months ago
Labels: enhancement, recipe
#540 - UnnecessaryThrows still ends up with `Exception 'java.lang.Exception' is never thrown in the method`
Issue -
State: open - Opened by Pankraz76 3 months ago
- 2 comments
Labels: bug
#539 - Run test methods in parallel but classes sequential
Pull Request -
State: closed - Opened by timtebeek 3 months ago
Labels: enhancement
#538 - Fix clashing variable names generated by `InstanceOfPatternMatch`
Pull Request -
State: closed - Opened by arodionov 3 months ago
#537 - Replace nested ifs with one if and conditions joined with &&
Issue -
State: open - Opened by greg-at-moderne 3 months ago
Labels: recipe
#536 - Add cloneInInterface test case to MissingOverrideAnnotationTest
Pull Request -
State: closed - Opened by greg-at-moderne 3 months ago
#535 - InstanceOfPatternMatch with `var` produces invalid code
Issue -
State: closed - Opened by protocol7 3 months ago
- 3 comments
Labels: bug
#534 - UnnecessaryParentheses must not remove parentheses around chained switch statement
Issue -
State: closed - Opened by protocol7 3 months ago
- 2 comments
Labels: bug, good first issue
#533 - Fix type substitution for `var` variable
Pull Request -
State: closed - Opened by arodionov 3 months ago
- 1 comment
Labels: bug
#532 - Incorrect type substitution for `var` variable
Issue -
State: closed - Opened by arodionov 3 months ago
Labels: bug, test provided
#531 - Produce duplicate variables names in a nested `instanceof` for `InstanceOfPatternMatch` recipe
Issue -
State: open - Opened by arodionov 3 months ago
- 1 comment
Labels: bug, test provided
#530 - fix: use box for primitives when rewriting `instanceof` (#528)
Pull Request -
State: closed - Opened by cortlepp 3 months ago
Labels: bug, recipe
#529 - refactor: OpenRewrite Recipe best practices
Pull Request -
State: closed - Opened by timtebeek 3 months ago
#528 - InstanceOfPatternMatch recipe replaces wrapper types with primitives in `instanceof`
Issue -
State: closed - Opened by arodionov 3 months ago
- 1 comment
Labels: bug, test provided
#527 - Exclude visiting Javadoc in ReplaceDeprecatedRuntimeExecMethods
Pull Request -
State: closed - Opened by greg-at-moderne 3 months ago
#526 - ReplaceDeprecatedRuntimeExecMethods fails with Javadoc$Reference cannot be cast to class org.openrewrite.java.tree.J
Issue -
State: closed - Opened by greg-at-moderne 3 months ago
- 1 comment
Labels: bug
#525 - Reduce compiler warnings when running tests
Pull Request -
State: closed - Opened by timtebeek 3 months ago
#524 - `RemoveUnusedPrivateFields` error: cannot find symbol
Issue -
State: closed - Opened by Pankraz76 3 months ago
- 2 comments
Labels: bug, good first issue
#523 - Fixes for DefaultComesLast
Pull Request -
State: closed - Opened by JohannisK 3 months ago
- 1 comment
Labels: bug, recipe
#522 - Enhance ExplicitInitialization to handle anonymous classes
Pull Request -
State: closed - Opened by Jammy-Louie 3 months ago
- 3 comments
Labels: enhancement
#521 - Handling parentheses sometimes needed around instanceof
Pull Request -
State: closed - Opened by greg-at-moderne 4 months ago
#520 - DefaultComesLast should correctly support fall through cases
Pull Request -
State: closed - Opened by JohannisK 4 months ago
- 3 comments
Labels: bug, recipe
#519 - MoveFieldAnnotationToType shouldn't move annotation to arrays
Issue -
State: open - Opened by knutwannheden 4 months ago
- 2 comments
Labels: bug, good first issue
#518 - Fix Comment handling in NeedsBraces
Pull Request -
State: closed - Opened by Jammy-Louie 4 months ago
- 3 comments
Labels: bug
#517 - UseCollectionInterfaces updates methodInvovations type info to enable import removal
Pull Request -
State: closed - Opened by JohannisK 4 months ago
- 1 comment
Labels: bug, recipe
#516 - CompareEnumsWithEqualityOperator should not invert equality
Pull Request -
State: closed - Opened by JohannisK 4 months ago
Labels: bug, recipe
#515 - Don't finalize try-with-resources vairables as they are implicitly final
Pull Request -
State: closed - Opened by JohannisK 4 months ago
#514 - Feature request: configurable NoFinalizedLocalVariables
Issue -
State: closed - Opened by fprochazka over 2 years ago
- 2 comments
Labels: enhancement, good first issue
#513 - `CompareEnumsWithEqualityOperator` inverts conditions in some cases
Issue -
State: closed - Opened by julmud 4 months ago
- 2 comments
Labels: bug, recipe
#512 - Migrate to Lambda `forEach` from Traditional `for` Loop
Issue -
State: open - Opened by Pankraz76 4 months ago
Labels: enhancement, recipe
#511 - ReplaceStringBuilderWithString should keep comments
Pull Request -
State: closed - Opened by Jammy-Louie 4 months ago
#510 - Removing trailing spaces in code
Pull Request -
State: closed - Opened by greg-at-moderne 4 months ago
#509 - Migrate from `java.io.File` to `java.nio.Path`
Issue -
State: open - Opened by Pankraz76 4 months ago
- 3 comments
Labels: enhancement, recipe
#507 - Ignoring combineSameSemanticallyEquivalentMethodTypes test case
Pull Request -
State: closed - Opened by greg-at-moderne 4 months ago
#506 - CombineSemanticallyEqualCatchBlocks expects too much when comparing body clauses
Issue -
State: open - Opened by greg-at-moderne 4 months ago
Labels: bug
#505 - Avoid double negation in SimplifyBooleanReturn
Pull Request -
State: closed - Opened by timtebeek 4 months ago
Labels: bug, good first issue
#504 - ReplaceStringBuilderWithString should keep newlines
Pull Request -
State: closed - Opened by Jammy-Louie 4 months ago
- 2 comments
Labels: bug
#503 - Exclude `dataflow-errorprone` over shaded vulnerable Guava
Pull Request -
State: closed - Opened by timtebeek 4 months ago
#502 - Improve naming: Change `boolean1` to `bool` and standardize fields
Issue -
State: open - Opened by Pankraz76 4 months ago
- 5 comments
Labels: bug
#501 - Revert option for literal visiting in ChangePackage/ChangeType
Pull Request -
State: closed - Opened by Laurens-W 4 months ago
Labels: bug
#500 - Use `maybeParenthesize()` utility in `NoValueOfOnStringType`
Pull Request -
State: closed - Opened by knutwannheden 4 months ago
#499 - Update MSAL
Pull Request -
State: closed - Opened by MBoegers 4 months ago
#498 - Fix misaligned `.editorconfig` to fix wildcard imports
Pull Request -
State: closed - Opened by Pankraz76 4 months ago
- 3 comments
#497 - Reduce `complexity` and `coupling` by increasing `cohesion` in `EqualsAvoidsNull`
Pull Request -
State: closed - Opened by Pankraz76 4 months ago
- 2 comments
#496 - Increased idempotency of EqualsAvoidsNull by avoiding too many swaps
Pull Request -
State: closed - Opened by greg-at-moderne 4 months ago
- 1 comment