Skip to content

Commit 181e3de

Browse files
author
Bruce Downs
committed
manual revert
1 parent a08e1a1 commit 181e3de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bolt/src/main/java/com/slack/api/bolt/util/ListenerCodeSuggestion.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public static final String dialogSuggestion(String callbackId) {
4949
"});\n";
5050
}
5151

52-
public static final String dialogCancellation(String callbackId) {
52+
public static String dialogCancellation(String callbackId) {
5353
return COMMON_PREFIX +
5454
"app.dialogCancellation(\"" + callbackId + "\", (req, ctx) -> {\n" +
5555
" // Do something where\n" +
@@ -124,15 +124,15 @@ public static final String toEventClassName(String eventTypeAndSubtype) {
124124
return sb.toString() + "Event";
125125
}
126126

127-
public static final String globalShortcut(String callbackId) {
127+
public static String globalShortcut(String callbackId) {
128128
return COMMON_PREFIX +
129129
"app.globalShortcut(\"" + callbackId + "\", (req, ctx) -> {\n" +
130130
" // Do something where\n" +
131131
" return ctx.ack();\n" +
132132
"});\n";
133133
}
134134

135-
public static final String messageShortcut(String callbackId) {
135+
public static String messageShortcut(String callbackId) {
136136
return COMMON_PREFIX +
137137
"app.messageShortcut(\"" + callbackId + "\", (req, ctx) -> {\n" +
138138
" // Do something where\n" +

0 commit comments

Comments
 (0)