Skip to content

Commit f986a12

Browse files
jimmycaseycbracken
authored andcommitted
Correct spelling in doc comments (flutter#7179)
Applies spelling corrections to accessibility-related doc comments and in the license tool.
1 parent 67cd7d4 commit f986a12

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/ui/semantics.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ class SemanticsFlag {
404404
/// that the node's semantic label can be used to announce an edge triggered
405405
/// semantics update.
406406
///
407-
/// Semantic nodes annotated with this flag will still recieve a11y focus.
407+
/// Semantic nodes annotated with this flag will still receive a11y focus.
408408
///
409409
/// Updating this label within the same active route subtree will not cause
410410
/// additional announcements.

shell/platform/android/io/flutter/view/AccessibilityBridge.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1153,7 +1153,7 @@ void updateWith(ByteBuffer buffer, String[] strings) {
11531153
} else if (action.overrideId == Action.LONG_PRESS.value) {
11541154
onLongPressOverride = action;
11551155
} else {
1156-
// If we recieve a different overrideId it means that we were passed
1156+
// If we receive a different overrideId it means that we were passed
11571157
// a standard action to override that we don't yet support.
11581158
assert action.overrideId == -1;
11591159
customAccessibilityActions.add(action);

tools/licenses/lib/patterns.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,7 @@ final List<RegExp> csLicenses = <RegExp>[
12091209
r'^\1\2OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF *\n'
12101210
r'^\1\2SUCH DAMAGE\. *\n'
12111211
r'^(?:(?:\1\2?g? *)? *\n)*'
1212-
r'^\1\2The licence and distribution terms for any publically available version or *\n'
1212+
r'^\1\2The licence and distribution terms for any publicly available version or *\n'
12131213
r'^\1\2derivative of this code cannot be changed\. +i\.e\. +this code cannot simply be *\n'
12141214
r'^\1\2copied and put under another distribution licence *\n'
12151215
r'^\1\2\[including the GNU Public Licence\.\]',

0 commit comments

Comments
 (0)