Skip to content

Commit

Permalink
Correct spelling in doc comments (flutter#7179)
Browse files Browse the repository at this point in the history
Applies spelling corrections to accessibility-related doc comments and in the
license tool.
  • Loading branch information
jimmycasey authored and cbracken committed Dec 16, 2018
1 parent 67cd7d4 commit f986a12
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/ui/semantics.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,7 @@ void updateWith(ByteBuffer buffer, String[] strings) {
} 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);
Expand Down
2 changes: 1 addition & 1 deletion tools/licenses/lib/patterns.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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\.\]',
Expand Down

0 comments on commit f986a12

Please sign in to comment.