Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1565,8 +1565,8 @@ public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Method method = (Method) o;
return Objects.equals(declaringType, method.declaringType) &&
name.equals(method.name) &&
return Objects.equals(name, method.name) &&
Objects.equals(declaringType, method.declaringType) &&
Objects.equals(returnType, method.returnType) &&
Arrays.equals(parameterTypes, method.parameterTypes);
}
Expand Down
2 changes: 1 addition & 1 deletion rewrite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ recipeList:
- org.openrewrite.java.recipes.UseTreeRandomId
- org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes
- org.openrewrite.staticanalysis.NeedBraces
- org.openrewrite.staticanalysis.RemoveSystemOutPrintln
# - org.openrewrite.staticanalysis.RemoveSystemOutPrintln
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this intended?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, didn't want to keep patching main when folks as print statements to test code.

# - org.openrewrite.java.RemoveAnnotation:
# annotationPattern: '@org.openrewrite.NlsRewrite.DisplayName'
# - org.openrewrite.java.RemoveAnnotation:
Expand Down