From 0e73c0f16da78665b8786e0eb559da11b787ae11 Mon Sep 17 00:00:00 2001 From: Jimmy Casey Date: Sun, 16 Dec 2018 20:51:00 +0000 Subject: [PATCH] Correct spelling in doc comments (flutter/engine#7179) Applies spelling corrections to accessibility-related doc comments and in the license tool. --- engine/src/flutter/lib/ui/semantics.dart | 2 +- .../platform/android/io/flutter/view/AccessibilityBridge.java | 2 +- engine/src/flutter/tools/licenses/lib/patterns.dart | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/src/flutter/lib/ui/semantics.dart b/engine/src/flutter/lib/ui/semantics.dart index 9b69b2834f..8ebce7de15 100644 --- a/engine/src/flutter/lib/ui/semantics.dart +++ b/engine/src/flutter/lib/ui/semantics.dart @@ -404,7 +404,7 @@ class SemanticsFlag { /// that the node's semantic label can be used to announce an edge triggered /// semantics update. /// - /// Semantic nodes annotated with this flag will still recieve a11y focus. + /// Semantic nodes annotated with this flag will still receive a11y focus. /// /// Updating this label within the same active route subtree will not cause /// additional announcements. diff --git a/engine/src/flutter/shell/platform/android/io/flutter/view/AccessibilityBridge.java b/engine/src/flutter/shell/platform/android/io/flutter/view/AccessibilityBridge.java index 4fc808e9ee..dfa9662f2a 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/view/AccessibilityBridge.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/view/AccessibilityBridge.java @@ -1153,7 +1153,7 @@ class AccessibilityBridge } else if (action.overrideId == Action.LONG_PRESS.value) { onLongPressOverride = action; } else { - // If we recieve a different overrideId it means that we were passed + // If we receive a different overrideId it means that we were passed // a standard action to override that we don't yet support. assert action.overrideId == -1; customAccessibilityActions.add(action); diff --git a/engine/src/flutter/tools/licenses/lib/patterns.dart b/engine/src/flutter/tools/licenses/lib/patterns.dart index dde04c5438..dec6cabe12 100644 --- a/engine/src/flutter/tools/licenses/lib/patterns.dart +++ b/engine/src/flutter/tools/licenses/lib/patterns.dart @@ -1209,7 +1209,7 @@ final List csLicenses = [ r'^\1\2OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF *\n' r'^\1\2SUCH DAMAGE\. *\n' r'^(?:(?:\1\2?g? *)? *\n)*' - r'^\1\2The licence and distribution terms for any publically available version or *\n' + r'^\1\2The licence and distribution terms for any publicly available version or *\n' r'^\1\2derivative of this code cannot be changed\. +i\.e\. +this code cannot simply be *\n' r'^\1\2copied and put under another distribution licence *\n' r'^\1\2\[including the GNU Public Licence\.\]',