Pull #18629: Add EqualityRulesRecipes #18627 #18625 #18622#18629
Pull #18629: Add EqualityRulesRecipes #18627 #18625 #18622#18629Pankraz76 wants to merge 1 commit into
EqualityRulesRecipes #18627 #18625 #18622#18629Conversation
EqualityRulesRecipes #18627 #18625 #18622EqualityRulesRecipes #18627 #18625 #18622 #18599
EqualityRulesRecipes #18627 #18625 #18622 #18599EqualityRulesRecipes #18627 #18625 #18622
f18b656 to
d9cf25b
Compare
|
kindly request your call on this. |
| && Objects.equals(columnCharIndex, violation.columnCharIndex) | ||
| && Objects.equals(tokenType, violation.tokenType) | ||
| && Objects.equals(severityLevel, violation.severityLevel) | ||
| && severityLevel == violation.severityLevel |
There was a problem hiding this comment.
This is generated code.
Can we configure rule to skip "equals" ?
There was a problem hiding this comment.
whats wrong? we should ignore generated code, not some rule in general.
There was a problem hiding this comment.
code is code. if its not changing any time we should fix it once.
| image-name: "cimg/openjdk:21.0" | ||
| command: "./.ci/validation.sh openrewrite-recipes" | ||
| no_output_timeout: 15m | ||
| no_output_timeout: 25m |
There was a problem hiding this comment.
this one locally takes a lot more meaning recipe is big composite.
Too long with no output (exceeded 15m0s): context deadline exceeded
the build takes 1h at least so having a few mins extra is no big deal.
There is only one option to have weak and broken code. Because of this we want to invest some time. I can not change it its no big deal to wait a little extra.
dcabe12 to
47bb6aa
Compare
47bb6aa to
bca1ecc
Compare
bca1ecc to
8afabce
Compare
|
item: <problem_class id="RedundantSuppression" severity="ERROR" attribute_key="ERRORS_ATTRIBUTES">Redundant suppression</problem_class> assuming we can remove it now? |
8afabce to
84746b6
Compare
84746b6 to
529077e
Compare
16161ff to
60e15f3
Compare
60e15f3 to
52d0e96
Compare
You can simply look at either the OpenRewrite or Error Prone Support docs what is happening. If you're applying something on a codebase, it sounds like a good practice to actually check what is happening before opening a PR :). For the rules you're applying, see: https://error-prone.picnic.tech/refasterrules/EqualityRules/. |
52d0e96 to
e120acf
Compare
|
now ci showing less error. |
c3b89c1 to
0467f26
Compare
0467f26 to
cc15224
Compare
romani
left a comment
There was a problem hiding this comment.
We need activation of this later on in different way
|
what you mean? outcome will be the same if code keeps violating? |
Pull #18629: Add
EqualityRulesRecipes#18627 #18625 #18622https://error-prone.picnic.tech/refasterrules/EqualityRules/
item