From c293ac40c19770e357185d431edfa2e9f38e6917 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9on=20Avic=20Simmons?= Date: Wed, 24 Jun 2026 17:48:21 -0400 Subject: [PATCH] docs: fix grammar error, typo, and incorrect annotation string MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - ConversationAdapter.java: fix "does not supported" → "is not supported" - ConversationAdapter.java: fix @SuppressWarnings("deprecated") → @SuppressWarnings("deprecation") - QuestionnaireActivity.java: fix "not the better" → "not the best" --- .../yandex/subtitles/ui/activity/QuestionnaireActivity.java | 2 +- .../ru/yandex/subtitles/ui/adapter/ConversationAdapter.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/ru/yandex/subtitles/ui/activity/QuestionnaireActivity.java b/app/src/main/java/ru/yandex/subtitles/ui/activity/QuestionnaireActivity.java index 94acceb..0786dd4 100644 --- a/app/src/main/java/ru/yandex/subtitles/ui/activity/QuestionnaireActivity.java +++ b/app/src/main/java/ru/yandex/subtitles/ui/activity/QuestionnaireActivity.java @@ -197,7 +197,7 @@ public void onBackPressedAction() { @Override public void finish() { - // It's not the better way to start next activity + // It's not the best way to start next activity QuickStartActivity.start(this); super.finish(); } diff --git a/app/src/main/java/ru/yandex/subtitles/ui/adapter/ConversationAdapter.java b/app/src/main/java/ru/yandex/subtitles/ui/adapter/ConversationAdapter.java index 34c1e50..2a0b520 100644 --- a/app/src/main/java/ru/yandex/subtitles/ui/adapter/ConversationAdapter.java +++ b/app/src/main/java/ru/yandex/subtitles/ui/adapter/ConversationAdapter.java @@ -141,7 +141,7 @@ public ViewHolder onCreateViewHolder(final ViewGroup parent, final int itemType) break; default: - throw new IllegalStateException("View type=" + itemType + " does not supported."); + throw new IllegalStateException("View type=" + itemType + " is not supported."); } final View view = getLayoutInflater().inflate(layoutId, parent, false); @@ -174,7 +174,7 @@ public void onBindViewHolder(final ViewHolder holder, final int position) { private final View mBubbleView; private final TextView mTextView; - @SuppressWarnings("deprecated") + @SuppressWarnings("deprecation") public ViewHolder(final View itemView) { super(itemView);