Skip to content

Commit

Permalink
Fix dart formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
cardilloscreations committed Jun 19, 2021
1 parent 5e8abaf commit 27e4dd3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.1

* _Fix dart formatting._

## 1.0.0

* _Tested with dart `2.13`._
Expand Down
5 changes: 3 additions & 2 deletions lib/src/double_metaphone.dart
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,9 @@ class _DoubleMetaphoneEncoding {
/// Returns `true` if the encoding is maxed out (both encodings are at the
/// max length), `false` otherwise (or if [_maxLength] is `0`).
bool isMaxedOut() {
return _maxLength > 0 && _primary.length >= _maxLength && _alternate
.length >= _maxLength;
return _maxLength > 0 &&
_primary.length >= _maxLength &&
_alternate.length >= _maxLength;
}

/// Returns the string value of the primary encoding. This renders the
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: dart_phonetics
description: A collection of phonetic algorithms. These algorithms help find words or names that sound similar by generating an encoding that can be compared or indexed for fuzzy searching.
version: 1.0.0
version: 1.0.1
homepage: https://github.com/raycardillo/dart_phonetics
repository: https://github.com/raycardillo/dart_phonetics

Expand Down

0 comments on commit 27e4dd3

Please sign in to comment.