Skip to content

Commit

Permalink
Remove superfluous lombok annotations
Browse files Browse the repository at this point in the history
@EqualsAndHashCode(callSuper = false) is already included in @DaTa
  • Loading branch information
eamelink committed May 1, 2020
1 parent 3e504dd commit 41294ce
Show file tree
Hide file tree
Showing 26 changed files with 2 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class AuditApiErrorResponse implements AuditApiResponse {

private boolean ok;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

@Data
@Slf4j
@EqualsAndHashCode(callSuper = false)
public class AuditApiException extends Exception {

private final Response response;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
public class ActionsResponse implements AuditApiResponse {
private boolean ok;
private String warning;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
public class LogsResponse implements AuditApiResponse {
private boolean ok;
private String warning;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
public class SchemasResponse implements AuditApiResponse {
private boolean ok;
private String warning;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

@Data
@Slf4j
@EqualsAndHashCode(callSuper = false)
public class MethodsCompletionException extends RuntimeException {

private final IOException ioException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

@Data
@Slf4j
@EqualsAndHashCode(callSuper = false)
public class SlackApiException extends Exception {

private final Response response;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class SCIMApiErrorResponse implements SCIMApiResponse {

@SerializedName("Errors")
Expand All @@ -17,4 +16,4 @@ public static class Errors {
private Integer code;
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

@Data
@Slf4j
@EqualsAndHashCode(callSuper = false)
public class SCIMApiException extends Exception {

private final Response response;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class GroupsCreateResponse extends Group implements SCIMApiResponse {
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class GroupsDeleteResponse implements SCIMApiResponse {
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class GroupsPatchResponse extends Group implements SCIMApiResponse {
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class GroupsReadResponse extends Group implements SCIMApiResponse {
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
public class GroupsSearchResponse implements SCIMApiResponse {
private Integer totalResults;
private Integer itemsPerPage;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class GroupsUpdateResponse extends Group implements SCIMApiResponse {
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
public class ServiceProviderConfigsGetResponse implements SCIMApiResponse {

private List<AuthenticationScheme> authenticationSchemes;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class UsersCreateResponse extends User implements SCIMApiResponse {
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class UsersDeleteResponse implements SCIMApiResponse {
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class UsersPatchResponse extends User implements SCIMApiResponse {
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class UsersReadResponse extends User implements SCIMApiResponse {
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
public class UsersSearchResponse implements SCIMApiResponse {
private Integer totalResults;
private Integer itemsPerPage;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class UsersUpdateResponse extends User implements SCIMApiResponse {
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

@Data
@Slf4j
@EqualsAndHashCode(callSuper = false)
public class LegacyStatusApiException extends Exception {

private final Response response;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

@Data
@Slf4j
@EqualsAndHashCode(callSuper = false)
public class StatusApiException extends Exception {

private final Response response;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class UnknownBlockElement extends BlockElement {
private String type;
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class ViewSubmissionResponse {

private String responseAction; // push, update, errors, (no value to close)
Expand Down

0 comments on commit 41294ce

Please sign in to comment.