Skip to content

Commit b0f05f7

Browse files
committed
fix a couple of compiler warnings
- [WARNING] kaap/operator/src/main/java/com/datastax/oss/kaap/crds/GlobalSpec.java:[42,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type.
1 parent abc5774 commit b0f05f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

operator/src/main/java/com/datastax/oss/kaap/crds/GlobalSpec.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,15 @@
3737
import lombok.AllArgsConstructor;
3838
import lombok.Builder;
3939
import lombok.Data;
40+
import lombok.EqualsAndHashCode;
4041
import lombok.NoArgsConstructor;
4142
import org.apache.commons.lang3.ObjectUtils;
4243

4344
@Data
4445
@NoArgsConstructor
4546
@AllArgsConstructor
4647
@Builder
48+
@EqualsAndHashCode(callSuper = false)
4749
public class GlobalSpec extends ValidableSpec<GlobalSpec> implements WithDefaults {
4850

4951

@@ -151,7 +153,6 @@ public static class GlobalStorageConfig {
151153
private String existingStorageClassName;
152154
}
153155

154-
155156
@NotNull
156157
@Required
157158
@JsonPropertyDescription("Pulsar cluster name.")

0 commit comments

Comments
 (0)