Skip to content

Commit

Permalink
Remove duplicated lombok annotations in the tests module (apache#6412)
Browse files Browse the repository at this point in the history
  • Loading branch information
vzhikserg authored and huangdx0726 committed Aug 24, 2020
1 parent 15be249 commit ce1dd60
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 38 deletions.
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

0 comments on commit ce1dd60

Please sign in to comment.