Skip to content

Commit

Permalink
Remove duplicated lombok annotations in the pulsar-broker module (apa…
Browse files Browse the repository at this point in the history
  • Loading branch information
vzhikserg authored and merlimat committed Jan 23, 2020
1 parent e23c6a8 commit d0920fc
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
import java.util.Optional;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import org.apache.pulsar.broker.service.schema.SchemaRegistry;
import org.apache.pulsar.client.api.Consumer;
Expand Down Expand Up @@ -56,8 +54,6 @@ protected void cleanup() throws Exception {
}

@Data
@ToString
@EqualsAndHashCode
private static class Foo {
private String field1;
private String field2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
import java.util.Map;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import org.apache.pulsar.client.api.Schema;
import org.apache.pulsar.client.api.SchemaSerializationException;
Expand Down Expand Up @@ -63,8 +61,6 @@ public void testJsonSchemaBackwardsCompatibility() throws JsonProcessingExceptio
}

@Data
@ToString
@EqualsAndHashCode
private static class Foo {
private String field1;
private String field2;
Expand All @@ -73,8 +69,6 @@ private static class Foo {
}

@Data
@ToString
@EqualsAndHashCode
private static class Bar {
private boolean field1;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@

import com.google.common.collect.Maps;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.apache.pulsar.client.api.schema.SchemaDefinition;
import org.apache.pulsar.client.impl.schema.AvroSchema;
import org.apache.pulsar.client.impl.schema.JSONSchema;
Expand All @@ -41,8 +39,6 @@ public class KeyValueSchemaCompatibilityCheckTest {
private final Map<SchemaType, SchemaCompatibilityCheck> checkers = Maps.newHashMap();

@Data
@ToString
@EqualsAndHashCode
private static class Foo {
private String field1;
private String field2;
Expand All @@ -51,8 +47,6 @@ private static class Foo {
}

@Data
@ToString
@EqualsAndHashCode
private static class Bar {
private boolean field1;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,31 +20,19 @@

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import org.apache.avro.reflect.AvroDefault;

public class Schemas {

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

@Data
@Getter
@Setter
@ToString
@EqualsAndHashCode
@AllArgsConstructor
@NoArgsConstructor
public static class PersonTwo{
Expand All @@ -55,10 +43,6 @@ public static class PersonTwo{
}

@Data
@Getter
@Setter
@ToString
@EqualsAndHashCode
@AllArgsConstructor
@NoArgsConstructor
public static class PersonThree{
Expand All @@ -68,10 +52,6 @@ public static class PersonThree{
}

@Data
@Getter
@Setter
@ToString
@EqualsAndHashCode
@AllArgsConstructor
@NoArgsConstructor
public static class PersonFour{
Expand Down

0 comments on commit d0920fc

Please sign in to comment.