remove api that was scheduled for removal

This commit is contained in:
Jake Potrebic
2024-06-14 14:07:44 -07:00
parent abbb7415bd
commit 9b34dc14d9
17 changed files with 13 additions and 1236 deletions

View File

@@ -459,19 +459,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ this.result = result;
+ }
+
+ /**
+ * If this decorating is part of a preview request/response.
+ *
+ * @return {@code true} if part of previewing
+ * @deprecated chat preview was removed in 1.19.3
+ */
+ @Deprecated(forRemoval = true, since = "1.19.3")
+ @ApiStatus.ScheduledForRemoval(inVersion = "1.21")
+ @Contract(value = "-> false", pure = true)
+ public boolean isPreview() {
+ return false;
+ }
+
+ @Override
+ public boolean isCancelled() {
+ return this.cancelled;