From e82b6be67970028b910006e8c8c9751e4fbf719b Mon Sep 17 00:00:00 2001 From: camsim99 Date: Mon, 16 May 2022 11:03:26 -0700 Subject: [PATCH 1/3] Correct Javadoc --- .../engine/systemchannels/SpellCheckChannel.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/shell/platform/android/io/flutter/embedding/engine/systemchannels/SpellCheckChannel.java b/shell/platform/android/io/flutter/embedding/engine/systemchannels/SpellCheckChannel.java index 4c8fbec04b475..d88d087f24adb 100644 --- a/shell/platform/android/io/flutter/embedding/engine/systemchannels/SpellCheckChannel.java +++ b/shell/platform/android/io/flutter/embedding/engine/systemchannels/SpellCheckChannel.java @@ -25,13 +25,13 @@ * fetch spell check results for the specified text. * *

Once the spell check results are received by the {@link - * io.flutter.plugin.editing.SpellCheckPlugin}, it will send to the framework the message {@code - * SpellCheck.updateSpellCheckResults} with the {@code ArrayList} of encoded spell check - * results (see {@link - * io.flutter.plugin.editing.SpellCheckPlugin#onGetSentenceSuggestions(SentenceSuggestionsInfo[])} - * for details) with the text that these results correspond to appeneded to the front as an - * argument. For example, the argument may look like: {@code {"Hello, wrold!", - * "7.11.world\nword\nold"}}. + * io.flutter.plugin.editing.SpellCheckPlugin}, it will send back to the framework the {@code + * ArrayList} of encoded spell check results (see {@link + * io.flutter.plugin.editing.SpellCheckPlugin#onGetSentenceSuggestions} for details) with the text + * that these results correspond to appeneded to the front as an argument. For example, the argument + * may look like: {@code {"Hello, wrold!", "7.11.world\nword\nold"}}. Please note that the {@link + * io.flutter.plugin.editing.SpellCheckPlugin} only handles one request to fetch spell check results + * at a time; see {@link io.flutter.plugin.editing.SpellCheckPlugin#initiateSpellCheck} for details. * *

{@link io.flutter.plugin.editing.SpellCheckPlugin} implements {@link SpellCheckMethodHandler} * to initiate spell check. Implement {@link SpellCheckMethodHandler} to respond to spell check From d8aaefeac8d0e71dcc9dcdcd66a8bee7b1faaefb Mon Sep 17 00:00:00 2001 From: camsim99 Date: Mon, 16 May 2022 11:05:31 -0700 Subject: [PATCH 2/3] Fix misspelling --- .../embedding/engine/systemchannels/SpellCheckChannel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/platform/android/io/flutter/embedding/engine/systemchannels/SpellCheckChannel.java b/shell/platform/android/io/flutter/embedding/engine/systemchannels/SpellCheckChannel.java index d88d087f24adb..e2a2591cf4b8c 100644 --- a/shell/platform/android/io/flutter/embedding/engine/systemchannels/SpellCheckChannel.java +++ b/shell/platform/android/io/flutter/embedding/engine/systemchannels/SpellCheckChannel.java @@ -28,7 +28,7 @@ * io.flutter.plugin.editing.SpellCheckPlugin}, it will send back to the framework the {@code * ArrayList} of encoded spell check results (see {@link * io.flutter.plugin.editing.SpellCheckPlugin#onGetSentenceSuggestions} for details) with the text - * that these results correspond to appeneded to the front as an argument. For example, the argument + * that these results correspond to appended to the front as an argument. For example, the argument * may look like: {@code {"Hello, wrold!", "7.11.world\nword\nold"}}. Please note that the {@link * io.flutter.plugin.editing.SpellCheckPlugin} only handles one request to fetch spell check results * at a time; see {@link io.flutter.plugin.editing.SpellCheckPlugin#initiateSpellCheck} for details. From 9bbc8fb933508a6274ef87176230acdb79aa89b8 Mon Sep 17 00:00:00 2001 From: camsim99 Date: Mon, 16 May 2022 17:40:22 -0700 Subject: [PATCH 3/3] Remove verbiage --- .../embedding/engine/systemchannels/SpellCheckChannel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/platform/android/io/flutter/embedding/engine/systemchannels/SpellCheckChannel.java b/shell/platform/android/io/flutter/embedding/engine/systemchannels/SpellCheckChannel.java index e2a2591cf4b8c..3aa01961b3644 100644 --- a/shell/platform/android/io/flutter/embedding/engine/systemchannels/SpellCheckChannel.java +++ b/shell/platform/android/io/flutter/embedding/engine/systemchannels/SpellCheckChannel.java @@ -29,7 +29,7 @@ * ArrayList} of encoded spell check results (see {@link * io.flutter.plugin.editing.SpellCheckPlugin#onGetSentenceSuggestions} for details) with the text * that these results correspond to appended to the front as an argument. For example, the argument - * may look like: {@code {"Hello, wrold!", "7.11.world\nword\nold"}}. Please note that the {@link + * may look like: {@code {"Hello, wrold!", "7.11.world\nword\nold"}}. The {@link * io.flutter.plugin.editing.SpellCheckPlugin} only handles one request to fetch spell check results * at a time; see {@link io.flutter.plugin.editing.SpellCheckPlugin#initiateSpellCheck} for details. *