-
Notifications
You must be signed in to change notification settings - Fork 57
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
Improve recipes and excluded them from C# codebase if needed #396
Conversation
ab20d12
to
2d28a34
Compare
src/main/java/org/openrewrite/staticanalysis/CaseInsensitiveComparisonsDoNotChangeCase.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good; what part of this is still in draft? Or can we already merge this increment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some suggestions could not be made:
- src/main/java/org/openrewrite/staticanalysis/FixStringFormatExpressions.java
- lines 29-29
- src/main/java/org/openrewrite/staticanalysis/IndexOfChecksShouldUseAStartPosition.java
- lines 27-27
- src/main/java/org/openrewrite/staticanalysis/IndexOfReplaceableByContains.java
- lines 25-25
- src/main/java/org/openrewrite/staticanalysis/IndexOfShouldNotCompareGreaterThanZero.java
- lines 20-20
- src/main/java/org/openrewrite/staticanalysis/ObjectFinalizeCallsSuper.java
- lines 28-28
- src/main/java/org/openrewrite/staticanalysis/PrimitiveWrapperClassConstructorToValueOf.java
- lines 30-30
- src/main/java/org/openrewrite/staticanalysis/StringLiteralEquality.java
- lines 25-25
- src/main/java/org/openrewrite/staticanalysis/WriteOctalValuesAsDecimal.java
- lines 26-27
src/main/java/org/openrewrite/staticanalysis/NewStringBuilderBufferWithCharArgument.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some suggestions could not be made:
- src/main/java/org/openrewrite/staticanalysis/FixStringFormatExpressions.java
- lines 29-29
- src/main/java/org/openrewrite/staticanalysis/IndexOfChecksShouldUseAStartPosition.java
- lines 27-27
- src/main/java/org/openrewrite/staticanalysis/IndexOfReplaceableByContains.java
- lines 25-25
- src/main/java/org/openrewrite/staticanalysis/IndexOfShouldNotCompareGreaterThanZero.java
- lines 20-20
- src/main/java/org/openrewrite/staticanalysis/ObjectFinalizeCallsSuper.java
- lines 28-28
- src/main/java/org/openrewrite/staticanalysis/PrimitiveWrapperClassConstructorToValueOf.java
- lines 30-30
- src/main/java/org/openrewrite/staticanalysis/StringLiteralEquality.java
- lines 25-25
- src/main/java/org/openrewrite/staticanalysis/WriteOctalValuesAsDecimal.java
- lines 26-27
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some suggestions could not be made:
- src/main/java/org/openrewrite/staticanalysis/FixStringFormatExpressions.java
- lines 29-29
- src/main/java/org/openrewrite/staticanalysis/IndexOfChecksShouldUseAStartPosition.java
- lines 27-27
- src/main/java/org/openrewrite/staticanalysis/IndexOfReplaceableByContains.java
- lines 25-25
- src/main/java/org/openrewrite/staticanalysis/IndexOfShouldNotCompareGreaterThanZero.java
- lines 20-20
- src/main/java/org/openrewrite/staticanalysis/ObjectFinalizeCallsSuper.java
- lines 28-28
- src/main/java/org/openrewrite/staticanalysis/PrimitiveWrapperClassConstructorToValueOf.java
- lines 30-30
- src/main/java/org/openrewrite/staticanalysis/StringLiteralEquality.java
- lines 25-25
- src/main/java/org/openrewrite/staticanalysis/WriteOctalValuesAsDecimal.java
- lines 26-27
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…ufferWithCharArgument.java Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
68200b7
to
9fc2972
Compare
What's changed?
Excluded CSharp for some recipes + made some recipes a little bit more modern
What's your motivation?
Some recipes don't work for C#.
Checklist