"Use String.equals()
on String literals" should not make changes for Groovy
#140
Labels
String.equals()
on String literals" should not make changes for Groovy
#140
Problem
Groovy has operator overloading, meaning
==
is preferred there for String comparisons.Expected behavior
No change when running "Use
String.equals()
on String literals" on Groovy files.Example diff
From:
guides/micronaut-microservices-services-discover-eureka/bookrecommendation/groovy/src/test/groovy/example/micronaut/BookControllerSpec.groovy
Recipes in example diff:
org.openrewrite.staticanalysis.StringLiteralEquality
References:
org.openrewrite.staticanalysis.StringLiteralEquality
Use
String.equals()on String literals
micronaut-projects/micronaut-guides/master
This issue originally created by @timtebeek on: https://github.com/moderneinc/support-app/issues/6
The text was updated successfully, but these errors were encountered: