Correct spelling in doc comments (flutter/engine#7179)

Applies spelling corrections to accessibility-related doc comments and in the
license tool.
This commit is contained in:
Jimmy Casey
2018-12-16 20:51:00 +00:00
committed by Chris Bracken
parent 8a0cc94b1a
commit 0e73c0f16d
3 changed files with 3 additions and 3 deletions

View File

@@ -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.

View File

@@ -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);

View File

@@ -1209,7 +1209,7 @@ final List<RegExp> csLicenses = <RegExp>[
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\.\]',