Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove duplicated lombok annotations in the tests module #6412

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 @@ -50,8 +50,6 @@ public class JdbcSinkTester extends SinkTester<MySQLContainer> {
*
*/
@Data
@ToString
@EqualsAndHashCode
public static class Foo {
private String field1;
private String field2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@ public final class Schemas {
* A Person Struct.
*/
@Data
@Getter
@Setter
@ToString
@EqualsAndHashCode
public static class Person {

private String name;
Expand All @@ -71,10 +67,6 @@ public static class Person {
* A Person Struct.
*/
@Data
@Getter
@Setter
@ToString
@EqualsAndHashCode
public static class PersonConsumeSchema {

private String name;
Expand All @@ -88,10 +80,6 @@ public static class PersonConsumeSchema {
* A Student Struct.
*/
@Data
@Getter
@Setter
@ToString
@EqualsAndHashCode
public static class Student {

private String name;
Expand All @@ -102,12 +90,8 @@ public static class Student {
}

@Data
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
@Builder
public static class AvroLogicalType{
@org.apache.avro.reflect.AvroSchema("{\n" +
Expand All @@ -132,21 +116,13 @@ public static class AvroLogicalType{
private Schemas() {}

@Data
@Getter
@Setter
@ToString
@EqualsAndHashCode
@AllArgsConstructor
@NoArgsConstructor
public static class PersonOne{
int id;
}

@Data
@Getter
@Setter
@ToString
@EqualsAndHashCode
@AllArgsConstructor
@NoArgsConstructor
public static class PersonTwo{
Expand All @@ -157,21 +133,13 @@ public static class PersonTwo{
}

@Data
@Getter
@Setter
@ToString
@EqualsAndHashCode
public static class PersonThree{
int id;

String name;
}

@Data
@Getter
@Setter
@ToString
@EqualsAndHashCode
public static class PersonFour{
int id;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@
public class KafkaApiTest extends PulsarStandaloneTestSuite {

@Data
@ToString
@EqualsAndHashCode
public static class Foo {
@Nullable
private String field1;
Expand All @@ -82,8 +80,6 @@ public static class Foo {
}

@Data
@ToString
@EqualsAndHashCode
public static class Bar {
private boolean field1;
}
Expand Down