diff --git a/rewrite-xml/src/main/java/org/openrewrite/xml/search/HasNamespacePrefix.java b/rewrite-xml/src/main/java/org/openrewrite/xml/search/HasNamespacePrefix.java index 07a4e0ee3c7..47b5af94b7b 100644 --- a/rewrite-xml/src/main/java/org/openrewrite/xml/search/HasNamespacePrefix.java +++ b/rewrite-xml/src/main/java/org/openrewrite/xml/search/HasNamespacePrefix.java @@ -32,7 +32,7 @@ import java.util.Set; @Value -@EqualsAndHashCode(callSuper = true) +@EqualsAndHashCode(callSuper = false) public class HasNamespacePrefix extends Recipe { @Option(displayName = "Namespace Prefix", diff --git a/rewrite-xml/src/main/java/org/openrewrite/xml/search/HasNamespaceUri.java b/rewrite-xml/src/main/java/org/openrewrite/xml/search/HasNamespaceUri.java index 390ccf6d9aa..7791a3c22e5 100644 --- a/rewrite-xml/src/main/java/org/openrewrite/xml/search/HasNamespaceUri.java +++ b/rewrite-xml/src/main/java/org/openrewrite/xml/search/HasNamespaceUri.java @@ -32,7 +32,7 @@ import java.util.Set; @Value -@EqualsAndHashCode(callSuper = true) +@EqualsAndHashCode(callSuper = false) public class HasNamespaceUri extends Recipe { @Option(displayName = "Namespace URI",