commit | ccfb1efea62ba09ae9b91393839d9b762b72892f | [log] [tgz] |
---|---|---|
author | Kevin Moore <kevmoo@users.noreply.github.com> | Sat Jul 31 17:29:01 2021 -0700 |
committer | GitHub <noreply@github.com> | Sat Jul 31 17:29:01 2021 -0700 |
tree | 154b768867b1951efe40800ee8e2d641ab788044 | |
parent | fcb94c0409d79b784b5d04fd6722a4843a1694f6 [diff] |
Fix updated lints (#91)
diff --git a/lib/src/http_headers_impl.dart b/lib/src/http_headers_impl.dart index 6e04eda..9f2dff7 100644 --- a/lib/src/http_headers_impl.dart +++ b/lib/src/http_headers_impl.dart
@@ -1128,7 +1128,9 @@ int year = toInt(yearStr); if (year >= 70 && year <= 99) { year += 1900; - } else if (year >= 0 && year <= 69) year += 2000; + } else if (year >= 0 && year <= 69) { + year += 2000; + } if (year < 1601) error(); int dayOfMonth = toInt(dayOfMonthStr);