Skip to content

Commit bf10d2c

Browse files
authored
Merge pull request #442 from seratch/pr-441-revert
Partially reverting #441 - get @EqualsAndHashCode(callSuper = false) back for data classes
2 parents ab0d180 + 3bd2bfc commit bf10d2c

71 files changed

Lines changed: 326 additions & 152 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

bolt/src/main/java/com/slack/api/bolt/context/builtin/ActionContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
@NoArgsConstructor
1515
@AllArgsConstructor
1616
@ToString(callSuper = true)
17-
@EqualsAndHashCode
17+
@EqualsAndHashCode(callSuper = false)
1818
public class ActionContext extends Context implements ActionRespondUtility {
1919

2020
private String triggerId;

bolt/src/main/java/com/slack/api/bolt/context/builtin/AttachmentActionContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
@NoArgsConstructor
1616
@AllArgsConstructor
1717
@ToString(callSuper = true)
18-
@EqualsAndHashCode
18+
@EqualsAndHashCode(callSuper = false)
1919
public class AttachmentActionContext extends Context implements SayUtility, ActionRespondUtility {
2020

2121
private String triggerId;

bolt/src/main/java/com/slack/api/bolt/context/builtin/BlockSuggestionContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
@Setter
1111
@Builder
1212
@ToString(callSuper = true)
13-
@EqualsAndHashCode
13+
@EqualsAndHashCode(callSuper = false)
1414
public class BlockSuggestionContext extends Context {
1515

1616
public BlockSuggestionContext() {

bolt/src/main/java/com/slack/api/bolt/context/builtin/DefaultContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
@Setter
88
@Builder
99
@ToString(callSuper = true)
10-
@EqualsAndHashCode
10+
@EqualsAndHashCode(callSuper = false)
1111
public class DefaultContext extends Context {
1212

1313
public DefaultContext() {

bolt/src/main/java/com/slack/api/bolt/context/builtin/DialogCancellationContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@NoArgsConstructor
1313
@AllArgsConstructor
1414
@ToString(callSuper = true)
15-
@EqualsAndHashCode
15+
@EqualsAndHashCode(callSuper = false)
1616
public class DialogCancellationContext extends Context implements SayUtility, ActionRespondUtility {
1717

1818
private String responseUrl;

bolt/src/main/java/com/slack/api/bolt/context/builtin/DialogSubmissionContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
@NoArgsConstructor
1919
@AllArgsConstructor
2020
@ToString(callSuper = true)
21-
@EqualsAndHashCode
21+
@EqualsAndHashCode(callSuper = false)
2222
public class DialogSubmissionContext extends Context implements SayUtility, ActionRespondUtility {
2323

2424
private String responseUrl;

bolt/src/main/java/com/slack/api/bolt/context/builtin/DialogSuggestionContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
@Setter
1111
@Builder
1212
@ToString(callSuper = true)
13-
@EqualsAndHashCode
13+
@EqualsAndHashCode(callSuper = false)
1414
public class DialogSuggestionContext extends Context {
1515

1616
public DialogSuggestionContext() {

bolt/src/main/java/com/slack/api/bolt/context/builtin/EventContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
@Setter
99
@Builder
1010
@ToString(callSuper = true)
11-
@EqualsAndHashCode
11+
@EqualsAndHashCode(callSuper = false)
1212
@NoArgsConstructor
1313
@AllArgsConstructor
1414
public class EventContext extends Context implements SayUtility {

bolt/src/main/java/com/slack/api/bolt/context/builtin/GlobalShortcutContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@NoArgsConstructor
1313
@AllArgsConstructor
1414
@ToString(callSuper = true)
15-
@EqualsAndHashCode
15+
@EqualsAndHashCode(callSuper = false)
1616
public class GlobalShortcutContext extends Context {
1717
private String triggerId;
1818
}

bolt/src/main/java/com/slack/api/bolt/context/builtin/MessageShortcutContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
@NoArgsConstructor
1616
@AllArgsConstructor
1717
@ToString(callSuper = true)
18-
@EqualsAndHashCode
18+
@EqualsAndHashCode(callSuper = false)
1919
public class MessageShortcutContext extends Context implements SayUtility, ActionRespondUtility {
2020

2121
private String triggerId;

0 commit comments

Comments
 (0)