Skip to content

Commit

Permalink
fix a couple of compiler warnings
Browse files Browse the repository at this point in the history
- [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.
  • Loading branch information
pgier committed Aug 26, 2023
1 parent abc5774 commit b0f05f7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,15 @@
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.ObjectUtils;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = false)
public class GlobalSpec extends ValidableSpec<GlobalSpec> implements WithDefaults {


Expand Down Expand Up @@ -151,7 +153,6 @@ public static class GlobalStorageConfig {
private String existingStorageClassName;
}


@NotNull
@Required
@JsonPropertyDescription("Pulsar cluster name.")
Expand Down

0 comments on commit b0f05f7

Please sign in to comment.